Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func (Dispatcher) Dispatch ¶
func (d Dispatcher) Dispatch(msg Message)
func (*Dispatcher) Every ¶
func (d *Dispatcher) Every(fn Handler)
func (*Dispatcher) On ¶
func (d *Dispatcher) On(regex string, fn Handler)
type Message ¶
type TerminalBot ¶
type TerminalBot struct {
// contains filtered or unexported fields
}
func (*TerminalBot) Every ¶
func (b *TerminalBot) Every(fn Handler)
func (*TerminalBot) On ¶
func (b *TerminalBot) On(in string, fn Handler)
func (*TerminalBot) Post ¶
func (b *TerminalBot) Post(to []string, msg string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.