Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bot ¶
type Bot struct {
Conn *websocket.Conn
Username string `json:"username"`
Key string `json:"key"`
WebsocketURI string `json:"websocket_uri"`
CTX context.Context
}
func (*Bot) Initialize ¶
func (bot *Bot) Initialize()
func (*Bot) SendMessage ¶
type OnConnection ¶
type Package ¶
type Package struct {
Name string `json:"name"`
Author string `json:"author"`
Version string `json:"version"`
}
func GetPackage ¶
func GetPackage() Package
type SendMessage ¶
Click to show internal directories.
Click to hide internal directories.