Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v0.0.8
type Option ¶ added in v0.0.3
type Option func(*Server)
func WithConnection ¶ added in v0.0.8
func WithConnection(c Connection) Option
func WithElicitation ¶ added in v0.0.3
func WithElicitation() Option
func WithLogger ¶ added in v0.0.3
func WithPersistedConnections ¶ added in v0.0.9
func WithPersistedConnections(p []PersistedConnection) Option
func WithStrictConnections ¶ added in v0.0.9
func WithStrictConnections() Option
type PersistedConnection ¶ added in v0.0.9
type PersistedConnection struct {
Name string `json:"name,omitempty"`
Tenant string `json:"tenant"`
ClientID string `json:"clientId"`
}
func ParsePersistedConnections ¶ added in v0.0.9
func ParsePersistedConnections(spec string) ([]PersistedConnection, error)
ParsePersistedConnections parses a JSON array of {tenant, clientId, name?}, or "@path" to read that JSON from a file. Empty input means no entries.
Click to show internal directories.
Click to hide internal directories.