Categorygithub.com/irai/ws
modulepackage
1.4.2
Repository: https://github.com/irai/ws.git
Documentation: pkg.go.dev

# Functions

Encode will add the data struct to the msg; It uses json encoding.
EncodeBytes will add the raw []byte to the msg.
EncodeResponse will reuse previous message.
No description provided by the author
No description provided by the author
WebSocketDial opens a new web socket connection.
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

WSMsg is a slice, so pass it by value to all.