Documentation ¶
Index ¶
- type EventsStream
- func (mod EventsStream) Author() string
- func (mod *EventsStream) Configure() (err error)
- func (mod EventsStream) Description() string
- func (mod EventsStream) Name() string
- func (mod *EventsStream) Show(limit int) error
- func (mod *EventsStream) Start() error
- func (mod *EventsStream) Stop() error
- func (mod *EventsStream) View(e session.Event, refresh bool)
- type Trigger
- type TriggerList
- func (l *TriggerList) Add(tag string, command string) (error, string)
- func (l *TriggerList) Completer(prefix string) []string
- func (l *TriggerList) Del(id string) (err error)
- func (l *TriggerList) Dispatch(e session.Event) (ident string, cmd string, err error, found bool)
- func (l *TriggerList) Each(cb func(id string, t Trigger))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventsStream ¶
type EventsStream struct { session.SessionModule // contains filtered or unexported fields }
func NewEventsStream ¶
func NewEventsStream(s *session.Session) *EventsStream
func (EventsStream) Author ¶
func (mod EventsStream) Author() string
func (*EventsStream) Configure ¶
func (mod *EventsStream) Configure() (err error)
func (EventsStream) Description ¶
func (mod EventsStream) Description() string
func (EventsStream) Name ¶
func (mod EventsStream) Name() string
func (*EventsStream) Show ¶
func (mod *EventsStream) Show(limit int) error
func (*EventsStream) Start ¶
func (mod *EventsStream) Start() error
func (*EventsStream) Stop ¶
func (mod *EventsStream) Stop() error
type TriggerList ¶
func NewTriggerList ¶
func NewTriggerList() *TriggerList
func (*TriggerList) Completer ¶
func (l *TriggerList) Completer(prefix string) []string
func (*TriggerList) Del ¶
func (l *TriggerList) Del(id string) (err error)
func (*TriggerList) Each ¶
func (l *TriggerList) Each(cb func(id string, t Trigger))
Click to show internal directories.
Click to hide internal directories.