Documentation ¶
Index ¶
- type HttpClient
- type WebsocketClient
- func (c *WebsocketClient) Execute(cmd *proto.ExecuteCommand, res *proto.ExecuteResult) (callback chan byte, err error)
- func (c *WebsocketClient) Init(endpoint string, secure *uint32, token string) *WebsocketClient
- func (c *WebsocketClient) Secure() uint32
- func (c *WebsocketClient) Start(connections int) (err error)
- type WebsocketConnection
- type WebsocketPromise
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient struct { Skip bool // contains filtered or unexported fields }
func (*HttpClient) Init ¶
func (c *HttpClient) Init() *HttpClient
type WebsocketClient ¶
type WebsocketClient struct {
// contains filtered or unexported fields
}
func (*WebsocketClient) Execute ¶
func (c *WebsocketClient) Execute(cmd *proto.ExecuteCommand, res *proto.ExecuteResult) (callback chan byte, err error)
func (*WebsocketClient) Init ¶
func (c *WebsocketClient) Init(endpoint string, secure *uint32, token string) *WebsocketClient
func (*WebsocketClient) Secure ¶
func (c *WebsocketClient) Secure() uint32
func (*WebsocketClient) Start ¶
func (c *WebsocketClient) Start(connections int) (err error)
type WebsocketConnection ¶
func (*WebsocketConnection) Close ¶
func (c *WebsocketConnection) Close() (err error)
func (*WebsocketConnection) Dial ¶
func (c *WebsocketConnection) Dial() (err error)
func (*WebsocketConnection) Init ¶
func (c *WebsocketConnection) Init(client *WebsocketClient) *WebsocketConnection
func (*WebsocketConnection) PromiseID ¶
func (c *WebsocketConnection) PromiseID() (ID string)
type WebsocketPromise ¶
type WebsocketPromise struct {
// contains filtered or unexported fields
}
func (*WebsocketPromise) Init ¶
func (p *WebsocketPromise) Init(result *proto.ExecuteResult) *WebsocketPromise
Click to show internal directories.
Click to hide internal directories.