Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Http ¶
type Http struct {
Received chan string // received messages from web
ToSend chan Message // messages to send to web
}
func (*Http) SendHandle ¶
type Message ¶
type Message struct {
Type string `json:"type"`
Content interface{} `json:"content"`
}
Click to show internal directories.
Click to hide internal directories.