Documentation ¶
Index ¶
- type WSManager
- func (m *WSManager) SendClosureMsg(code int) error
- func (m *WSManager) SendFailure(msg string, code int) error
- func (m *WSManager) SendFailureISE() error
- func (m *WSManager) SendSuccess(msg string) error
- func (m *WSManager) SendTextMsg(msg string) error
- func (m *WSManager) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WSManager ¶
WSManager adds some convenience methods on top of a Gorilla websocket connection
func (*WSManager) SendClosureMsg ¶
func (*WSManager) SendFailureISE ¶
func (*WSManager) SendSuccess ¶
func (*WSManager) SendTextMsg ¶
Click to show internal directories.
Click to hide internal directories.