Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Url string
HttpClient *http.Client
// messageFunc gets executed on each received message from the socket
MessageFunc func(bytes []byte)
// reconnectFunc gets called when successfully reconnected to the socket
ReconnectFunc func()
// debugFunc gets called on every connection event
DebugFunc func(string)
}
Click to show internal directories.
Click to hide internal directories.