Documentation ¶
Index ¶
- type LuaRobot
- func (l *LuaRobot) AddTimer(L *lua.LState) int
- func (l *LuaRobot) DelTimer(L *lua.LState) int
- func (l *LuaRobot) Echo(L *lua.LState) int
- func (l *LuaRobot) Init()
- func (l *LuaRobot) Logf(format string, a ...interface{})
- func (l *LuaRobot) OnReceive(raw, input string)
- func (l *LuaRobot) OnSend(cmd string) bool
- func (l *LuaRobot) Panic(err error)
- func (l *LuaRobot) Print(L *lua.LState) int
- func (l *LuaRobot) RegEx(L *lua.LState) int
- func (l *LuaRobot) Reload() error
- func (l *LuaRobot) Run(L *lua.LState) int
- func (l *LuaRobot) Send(L *lua.LState) int
- func (l *LuaRobot) SetMud(w io.Writer)
- func (l *LuaRobot) SetScreen(w io.Writer)
- type LuaRobotConfig
- type Timer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LuaRobot ¶
type LuaRobot struct { printer.SimplePrinter // contains filtered or unexported fields }
func NewLuaRobot ¶
func NewLuaRobot(config LuaRobotConfig) *LuaRobot
type LuaRobotConfig ¶
Click to show internal directories.
Click to hide internal directories.