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