Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentOptions ¶
AgentOptions stores the Agent options
type HubOptions ¶
type HubOptions struct { Endpoint *url.URL GuardToken string PublishToken string SubscribeToken string Timeout time.Duration Topic string Target string }
HubOptions stores the Hub options
type Options ¶
type Options struct { Debug bool Agent AgentOptions Hub HubOptions Server ServerOptions }
Options stores the Broadcaster's options
func NewOptionsFromEnv ¶
NewOptionsFromEnv creates a new option instance from environment It returns an error if mandatory env env vars are missing
Click to show internal directories.
Click to hide internal directories.