Documentation ¶
Overview ¶
Package driver provides the default driver of zerobot
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WSClient ¶ added in v1.0.0
type WSClient struct { Url string // ws连接地址 AccessToken string // contains filtered or unexported fields }
WSClient ...
func NewWebSocketClient ¶ added in v1.0.0
NewWebSocketClient 默认Driver,使用正向WS通信
func (*WSClient) CallApi ¶ added in v1.0.0
func (ws *WSClient) CallApi(req zero.APIRequest) (zero.APIResponse, error)
CallApi 发送ws请求
Click to show internal directories.
Click to hide internal directories.