Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilConn = errors.New("connection has been lost")
ErrNilConn error.
Functions ¶
Types ¶
type Amiga ¶
Amiga struct.
func (*Amiga) Action ¶
Action execute an AMI action. If action successfully executed, method returns a map with Response fields. Otherwise error contains the Error message.
func (*Amiga) Close ¶
Close connection to AMI. After connection closed internal goroutines are stopped to prevent leaking. If you want to reconnect to AMI you have to create new amiga instance.
func (*Amiga) RegisterHandler ¶
RegisterHandler for specific event.
func (*Amiga) UnregisterHandler ¶
UnregisterHandler for specific event.
Click to show internal directories.
Click to hide internal directories.