Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_END_POINT = "/source"
View Source
const DEFAULT_PORT = 7788
View Source
const HEARTBEAT_INTERVAL = 20 * time.Second
Variables ¶
This section is empty.
Functions ¶
func GzipDecode ¶
Types ¶
type Client ¶
func NewClient ¶
func NewClient(host string, port int, endPoint string, callback MessageCallback) *Client
func (*Client) UnSubscribe ¶
type MessageCallback ¶
Click to show internal directories.
Click to hide internal directories.