Documentation ¶
Index ¶
- type Callbacks
- 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
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks struct { OnIntro func(message interface{}) OnOutro func(message interface{}) OnNodeState func(message interface{}) OnChannelSubscription func(message interface{}) OnStreamPublishing func(message interface{}) OnStreamRelaying func(message interface{}) }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SetLogger ¶
func (client *Client) SetLogger(log logrus.FieldLogger)
func (*Client) StartStream ¶
Click to show internal directories.
Click to hide internal directories.