Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConnectionLost = errors.New("impossible to reach the wss server")
View Source
var HTTP = H{ // contains filtered or unexported fields }
View Source
var Socket = S{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type H ¶
type H struct {
// contains filtered or unexported fields
}
func (H) SendRequestJSON ¶
func (H) SendRequestReader ¶
func (c H) SendRequestReader(json []byte) (io.ReadCloser, error)
type S ¶
type S struct {
// contains filtered or unexported fields
}
func (S) SendRequestJSON ¶
func (S) SendRequestReader ¶
func (c S) SendRequestReader(b []byte) (io.ReadCloser, error)
func (S) StartWebsocket ¶
Click to show internal directories.
Click to hide internal directories.