Documentation
¶
Index ¶
Constants ¶
View Source
const AYT = 246 // 0xF6 Are You Here?
View Source
const DO = 253 // 0xFD Do something
View Source
const DONT = 254 // 0xFE Don't do something
View Source
const EC = 247 // 0xF7 Erase Character
View Source
const ECHO = 1 // 0x01 Echo
View Source
const EL = 248 // 0xF8 Erase Line
View Source
const GA = 249 // 0xF9 Go Ahead
View Source
const GMCP = 201 // 0xC9 Generic MUD Communication Protocol
View Source
const IAC = 255 // 0xFF Interpret as Command
View Source
const MSSP = 70 // 0x46 MUD Server Status Protocol
View Source
const MXP = 91 // 0x5B MUD eXtension Protocol
View Source
const NAWS = 31 // 0x1F Negotiate About Window Size
View Source
const NENV = 39 // 0x27 New Environment
View Source
const NOP = 241 // 0xF1 No operation
View Source
const SB = 250 // 0xFA Subnegotiation Begin
View Source
const SE = 240 // 0xF0 Subnegotiation End
View Source
const TTYPE = 24 // 0x18 Terminal Type
View Source
const WILL = 251 // 0xFB Will do something
View Source
const WONT = 252 // 0xFC Won't do something
View Source
const ZMP = 93 // 0x5D Zenith MUD Protocol
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSIMessage ¶
func (CSIMessage) IsMessage ¶
func (CSIMessage) IsMessage()
type IACMessage ¶
func NewIACMessage ¶
func NewIACMessage() *IACMessage
func (IACMessage) IsMessage ¶
func (IACMessage) IsMessage()
func (*IACMessage) Reset ¶
func (iac *IACMessage) Reset()
func (*IACMessage) Scan ¶
func (iac *IACMessage) Scan(b byte) bool
func (IACMessage) String ¶
func (iac IACMessage) String() string
type IncompleteLine ¶
func (IncompleteLine) IsMessage ¶
func (IncompleteLine) IsMessage()
type MudMessage ¶
type MudMessage interface {
IsMessage()
}
type MudServer ¶
type MudServer struct {
printer.SimplePrinter
// contains filtered or unexported fields
}
func NewMudServer ¶
type ReaderWithDeadline ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(r ReaderWithDeadline) *Scanner
func (*Scanner) Scan ¶
func (s *Scanner) Scan() MudMessage
type ScannerStatus ¶
type ScannerStatus int
Click to show internal directories.
Click to hide internal directories.