Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Socket string
Logger *log.Logger
Background bool
ConfigFile string
ConfigWebsockets bool
// TokenMode makes the agent build tunnels by authenticating to
// TokenGateway with the session's macaroons instead of registering
// peers through the API. It's the local config's say: the
// wireguard-token-mode feature flag, evaluated for the user each time a
// tunnel is built, can turn token mode on for a user whose local config
// has it off (see server.tokenModeFor).
TokenMode bool
TokenGateway string
}
Click to show internal directories.
Click to hide internal directories.