Versions in this module Expand all Collapse all v0 v0.0.3 Oct 23, 2021 v0.0.2 Aug 26, 2021 Changes in this version + func NewWsClient(schema string, ip string, port string, path string, timeout time.Duration) *client + func Regist(handler func(data []byte, conn *Connection) ([]byte, error)) + func SendRaw(sessionId string, data []byte) error + func Start() + type Connection struct + Session *session2.Session + WsConnect *websocket.Conn + func (conn *Connection) Close() + func (conn *Connection) Write(messageType int, data []byte) (err error) + type WebsocketMessage struct