Documentation ¶
Index ¶
- type Bot
- func (b *Bot) Connect() bot.State
- func (b *Bot) Context() context.Context
- func (b *Bot) Encounter() bot.State
- func (b *Bot) Exit() bot.State
- func (b *Bot) FetchTicket() bot.State
- func (b *Bot) Init() bot.State
- func (b *Bot) Register() bot.State
- func (b *Bot) SignIn() bot.State
- func (b *Bot) Ticket() *pbf.Ticket
- func (b *Bot) Trainer() *pbf.Trainer
- func (b *Bot) WalkAround() bot.State
- type GUI
- type InputEvt
- type InputPanel
- type InputSource
- type ListPanel
- type Opts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputPanel ¶
func InputPar ¶
func InputPar(name string, par *ui.Par) InputPanel
Name is used to identify events to the mux "/input/<name>"
func (InputPanel) Append ¶
func (in InputPanel) Append(val string) string
func (InputPanel) Backspace ¶
func (in InputPanel) Backspace() bool
func (InputPanel) Clear ¶
func (in InputPanel) Clear() string
func (InputPanel) KbdHandler ¶
func (in InputPanel) KbdHandler(e ui.Event)
func (InputPanel) Value ¶
func (in InputPanel) Value() string
type InputSource ¶
type InputSource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.