Versions in this module Expand all Collapse all v1 v1.0.0 Mar 22, 2018 Changes in this version + var ErrConnectionLost = errors.New("impossible to reach the wss server") + var HTTP = H + var Socket = S + type H struct + func (c H) SendRequest(b []byte) (msg []byte, err error) + func (c H) SendRequestJSON(request interface{}, response interface{}, try ...interface{}) (err error) + func (c H) SendRequestReader(json []byte) (io.ReadCloser, error) + type S struct + func (c S) SendRequest(b []byte) (msg []byte, err error) + func (c S) SendRequestJSON(request interface{}, response interface{}, try ...interface{}) error + func (c S) SendRequestReader(b []byte) (io.ReadCloser, error) + func (c S) StartWebsocket() (err error)