Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSignallerRetired = fmt.Errorf("Signaller retiered") ErrUnknownListener = fmt.Errorf("Unknown signal listener") )
Error codes
View Source
var ( LISTENER_ADD = 0 LISTENER_DROP = 1 )
ListenerOp codes
Functions ¶
This section is empty.
Types ¶
type ListenerOp ¶
type ListenerOp struct {
// contains filtered or unexported fields
}
ListenerOp represents an operation on the listener list:
type Signal ¶
type Signal interface{}
Signal can be any object (intrinsic or custom); it is the responsibility of the senders and receivers of signals to handle them accordingly.
type Signaller ¶
type Signaller struct {
// contains filtered or unexported fields
}
Signaller manages signals send by senders for multiple listeners.
Click to show internal directories.
Click to hide internal directories.