Documentation ¶
Overview ¶
Package websocket is a tiny websocket client purpose-built for load-testing. It does not have any special features other than strictly what is needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Url string EventChannel chan *model.WebSocketEvent // contains filtered or unexported fields }
Client is the websocket client to perform all actions.
func NewClient4 ¶
NewClient4 constructs a new WebSocket client.
func (*Client) GetStatuses ¶
func (*Client) GetStatusesByIds ¶
func (*Client) SendMessage ¶
SendMessage is the method to write to the websocket.
func (*Client) UserTyping ¶
Click to show internal directories.
Click to hide internal directories.