Skip to content

Usage as a library #44

@ice-dionysos

Description

@ice-dionysos

Discussion thread of #43

The use case as simple as possible: an ability to create and manager a single server without external HTTP API.


Server configuration example:

sc := ss.Config{
	Servers: []ss.ServerConfig{
		{
			Name:              "foo",
			Protocol:          "2022-blake3-aes-256-gcm",
			MTU:               1500,
			Listen:            ":43333",
			EnableTCP:         true,
			EnableUDP:         true,
			ListenerTFO:       true,
			UDPRelayBatchSize: 8,
			PSK:           "mypassword",
			UPSKStorePath: "/dev/zero",
		},
	},
}

Now we need an ability to add/remove/list users of that server via Manager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions