Documentation ¶
Index ¶
- type Client
- func (client *Client) Close() error
- func (client *Client) Connect() error
- func (client *Client) Heartbeat(channelID types.ChannelID) error
- func (client *Client) Name() string
- func (client *Client) SetLogger(log logrus.FieldLogger)
- func (client *Client) StartStream(channelID types.ChannelID, streamID types.StreamID) error
- func (client *Client) StopStream(channelID types.ChannelID, streamID types.StreamID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // RTRouterEndpoint is the URL of a public RTRouter Endpoint string // Key is the secret key to be used for stateful changes Key string // Needs to be hardcoded for now... WHEPEndpoint string // contains filtered or unexported fields }
func (*Client) Close ¶
Likely this needs to tell the orchestrator all URLs for this endpoint are no longer valid
func (*Client) SetLogger ¶
func (client *Client) SetLogger(log logrus.FieldLogger)
func (*Client) StartStream ¶
Click to show internal directories.
Click to hide internal directories.