Documentation ¶
Index ¶
- type NioClient
- func (instance *NioClient) Close() (err error)
- func (instance *NioClient) GetUUID() string
- func (instance *NioClient) IsOpen() bool
- func (instance *NioClient) Join()
- func (instance *NioClient) OffConnect()
- func (instance *NioClient) OffDisconnect()
- func (instance *NioClient) OnConnect(callback func(e *gg_events.Event))
- func (instance *NioClient) OnDisconnect(callback func(e *gg_events.Event))
- func (instance *NioClient) Open() (err error)
- func (instance *NioClient) Send(data interface{}) (*nio_commons.NioMessage, error)
- func (instance *NioClient) SendId(name, description string) (*nio_commons.NioMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NioClient ¶
type NioClient struct { Timeout time.Duration Secure bool EnablePing bool // contains filtered or unexported fields }
func NewNioClient ¶
func (*NioClient) OffConnect ¶
func (instance *NioClient) OffConnect()
func (*NioClient) OffDisconnect ¶
func (instance *NioClient) OffDisconnect()
func (*NioClient) OnDisconnect ¶
func (*NioClient) Send ¶
func (instance *NioClient) Send(data interface{}) (*nio_commons.NioMessage, error)
func (*NioClient) SendId ¶
func (instance *NioClient) SendId(name, description string) (*nio_commons.NioMessage, error)
Click to show internal directories.
Click to hide internal directories.