Documentation ¶
Index ¶
- type EQLog
- func (t *EQLog) Connect(ctx context.Context) error
- func (t *EQLog) Disconnect(ctx context.Context) error
- func (t *EQLog) IsConnected() bool
- func (t *EQLog) Send(ctx context.Context, source string, author string, channelID int, ...) error
- func (t *EQLog) Subscribe(ctx context.Context, onMessage func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EQLog ¶
type EQLog struct {
// contains filtered or unexported fields
}
EQLog represents a eqlog connection
func (*EQLog) Disconnect ¶
Disconnect stops a previously started connection with EQLog. If called while a connection is not active, returns nil
func (*EQLog) IsConnected ¶
IsConnected returns if a connection is established
Click to show internal directories.
Click to hide internal directories.