Documentation ¶
Overview ¶
Package notification allows to forward notifications from an Emitter to a Handler
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Forward ¶
func Forward(conn argo.NotificationEmitter, p argo.NotificationHandler) error
Forward the notifications from the emitter to the handler
Types ¶
type BtCompletedHandler ¶
BtCompletedHandler handles onBtDownloadComplete
type CompletedHandler ¶
CompletedHandler handles onDownloadComplete
type ErrorHandler ¶
ErrorHandler handles onDownloadError
type PausedHandler ¶
PausedHandler handles onDownloadPause
type StartedHandler ¶
StartedHandler handles onDownloadStart
type StoppedHandler ¶
StoppedHandler handles onDownloadStop
type UnknownHandler ¶
UnknownHandler handles unknown notifications
Click to show internal directories.
Click to hide internal directories.