Documentation ¶
Index ¶
- type WebsocketClientProvider
- func (p *WebsocketClientProvider) Init(cfg gonebot.Config)
- func (p *WebsocketClientProvider) OnEventHandled(ev gonebot.I_Event)
- func (p *WebsocketClientProvider) RecieveEvent(ch chan<- gonebot.I_Event)
- func (p *WebsocketClientProvider) Request(route string, data interface{}) (interface{}, error)
- func (p *WebsocketClientProvider) Start()
- func (p *WebsocketClientProvider) Stop()
- type WebsocketConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsocketClientProvider ¶
type WebsocketClientProvider struct {
// contains filtered or unexported fields
}
func (*WebsocketClientProvider) Init ¶
func (p *WebsocketClientProvider) Init(cfg gonebot.Config)
func (*WebsocketClientProvider) OnEventHandled ¶
func (p *WebsocketClientProvider) OnEventHandled(ev gonebot.I_Event)
func (*WebsocketClientProvider) RecieveEvent ¶
func (p *WebsocketClientProvider) RecieveEvent(ch chan<- gonebot.I_Event)
func (*WebsocketClientProvider) Request ¶
func (p *WebsocketClientProvider) Request(route string, data interface{}) (interface{}, error)
func (*WebsocketClientProvider) Start ¶
func (p *WebsocketClientProvider) Start()
func (*WebsocketClientProvider) Stop ¶
func (p *WebsocketClientProvider) Stop()
type WebsocketConfig ¶
Click to show internal directories.
Click to hide internal directories.