bettercap: github.com/bettercap/bettercap/modules/events_stream Index | Files

package events_stream

import "github.com/bettercap/bettercap/modules/events_stream"

Index

Package Files

events_stream.go events_triggers.go events_view.go events_view_ble.go events_view_hid.go events_view_http.go events_view_wifi.go trigger_list.go

type EventsStream Uses

type EventsStream struct {
    session.SessionModule
    // contains filtered or unexported fields
}

func NewEventsStream Uses

func NewEventsStream(s *session.Session) *EventsStream

func (EventsStream) Author Uses

func (mod EventsStream) Author() string

func (*EventsStream) Configure Uses

func (mod *EventsStream) Configure() (err error)

func (EventsStream) Description Uses

func (mod EventsStream) Description() string

func (EventsStream) Name Uses

func (mod EventsStream) Name() string

func (*EventsStream) Show Uses

func (mod *EventsStream) Show(limit int) error

func (*EventsStream) Start Uses

func (mod *EventsStream) Start() error

func (*EventsStream) Stop Uses

func (mod *EventsStream) Stop() error

func (*EventsStream) View Uses

func (mod *EventsStream) View(e session.Event, refresh bool)

type Trigger Uses

type Trigger struct {
    For    string
    Action string
}

type TriggerList Uses

type TriggerList struct {
    sync.Mutex
    // contains filtered or unexported fields
}

func NewTriggerList Uses

func NewTriggerList() *TriggerList

func (*TriggerList) Add Uses

func (l *TriggerList) Add(tag string, command string) (error, string)

func (*TriggerList) Completer Uses

func (l *TriggerList) Completer(prefix string) []string

func (*TriggerList) Del Uses

func (l *TriggerList) Del(id string) (err error)

func (*TriggerList) Dispatch Uses

func (l *TriggerList) Dispatch(e session.Event) (ident string, cmd string, err error, found bool)

func (*TriggerList) Each Uses

func (l *TriggerList) Each(cb func(id string, t Trigger))

Package events_stream imports 23 packages (graph) and is imported by 3 packages. Updated 2019-11-17. Refresh now. Tools for package owners.