Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadJSONObjectPtr ¶
------------------------------------------------
Types ¶
type ClientJSONRPC ¶
type ClientJSONRPC struct {
// contains filtered or unexported fields
}
JSON rpc takes params as a slice
func NewClientJSONRPC ¶
func NewClientJSONRPC(remote string) *ClientJSONRPC
func (*ClientJSONRPC) Call ¶
func (c *ClientJSONRPC) Call(method string, params []interface{}, result interface{}) (interface{}, error)
type ClientURI ¶
type ClientURI struct {
// contains filtered or unexported fields
}
URI takes params as a map
func NewClientURI ¶
type WSClient ¶
type WSClient struct {
gcmn.BaseService
Address string // IP:PORT or /path/to/socket
Endpoint string // /websocket/url/endpoint
Dialer func(string, string) (net.Conn, error)
*websocket.Conn
ResultsCh chan interface{} // closes upon WSClient.Stop()
ErrorsCh chan error // closes upon WSClient.Stop()
}
func (*WSClient) Unsubscribe ¶
unsubscribe from an event
Click to show internal directories.
Click to hide internal directories.