Documentation ¶
Index ¶
- type InputLine
- type Instance
- func (instance *Instance) Listen() error
- func (instance *Instance) Listener() net.Listener
- func (instance *Instance) Serve(w tel.Writer, r tel.Reader)
- func (instance *Instance) ServeTELNET(ctx tel.Context, w tel.Writer, r tel.Reader)
- func (instance *Instance) Server() *tel.Server
- func (instance *Instance) SetListener(listener net.Listener)
- func (instance *Instance) SetServer(server *tel.Server)
- func (instance *Instance) Shutdown() error
- type Mode
- type Opts
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func (*Instance) ServeTELNET ¶
func (*Instance) SetListener ¶
type Mode ¶
type Mode string
const ModePlain Mode = "PLAIN" // auth
const ModeRedis Mode = "REDIS" // *x $y zzzz => *1 $4 auth
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) WriteErrMessage ¶
Click to show internal directories.
Click to hide internal directories.