Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WSClient ¶
type WSClient struct {
// contains filtered or unexported fields
}
func NewWSClient ¶
func NewWSClient(url string, h WSInterface) WSClient
type WSInterface ¶
type WSInterface interface { HandleMessage(string) HandleOnOpen() HandleClose() }
Click to show internal directories.
Click to hide internal directories.