Documentation ¶
Index ¶
- type Connection
- func (c *Connection) Close()
- func (c *Connection) Send(msg interface{}) error
- func (c *Connection) SetSubscribeFunc(f func() interface{})
- func (c *Connection) SetUnsubscribeFunc(f func() interface{})
- func (c *Connection) Stream() <-chan []byte
- func (c *Connection) Subscribe() error
- func (c *Connection) Unsubscribe() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection ...
func (*Connection) SetSubscribeFunc ¶
func (c *Connection) SetSubscribeFunc(f func() interface{})
SetSubscribeFunc ...
func (*Connection) SetUnsubscribeFunc ¶
func (c *Connection) SetUnsubscribeFunc(f func() interface{})
SetUnsubscribeFunc ...
Click to show internal directories.
Click to hide internal directories.