Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct{}
Fake transport helps while developing or for mocking if you don't want to implement all Transport interface methods
type LoopTransport ¶
type LoopTransport struct {
// contains filtered or unexported fields
}
type Message ¶
type Message struct { Id int `json:"id"` Cmd Cmd `json:"cmd"` Data *json.RawMessage `json:"data"` }
func NewMessage ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession() *Session
Click to show internal directories.
Click to hide internal directories.