Documentation ¶
Overview ¶
Package websocket implements websocket communication with the aria2 daemon
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
NewAdapter creates a Caller with the websocket.DefaultDialer
Types ¶
type Emitter ¶
type Emitter struct {
*Websocket
}
Emitter allows to receive notifications from an URL
func NewEmitter ¶
NewEmitter creates a NotificationEmitter with the websocket.DefaultDialer
type Poster ¶
type Poster struct {
*Websocket
}
Poster allows to send rpc.Request via Websocket
type Websocket ¶
Websocket represent a closable websocket connection
func NewWebsocket ¶
NewWebsocket creates a closable websocket with the websocket.DefaultDialer
Click to show internal directories.
Click to hide internal directories.