command

package
v0.0.0-...-476fdef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Command    string
	Arguments  string
	Background bool
}

API command

func (API) BuildMessage

func (api API) BuildMessage() string

BuildMessage Implement API command interface

type Auth

type Auth struct {
	User   string
	Passwd string
}

Auth user auth info

func (Auth) BuildMessage

func (auth Auth) BuildMessage() string

BuildMessage Implement command interface

type Command

type Command interface {
	BuildMessage() string
}

Command interface

type Connect

type Connect struct{}

Connect command

func (Connect) BuildMessage

func (Connect) BuildMessage() string

BuildMessage Implement command interface

type DisableEvents

type DisableEvents struct{}

DisableEvents disable events

func (DisableEvents) BuildMessage

func (DisableEvents) BuildMessage() string

BuildMessage Implement command interface

type DivertEvents

type DivertEvents struct {
	Enabled bool
}

DivertEvents The divert_events command is available to allow events that an embedded script would expect to get in the inputcallback to be diverted to the event socket.

func (DivertEvents) BuildMessage

func (d DivertEvents) BuildMessage() string

BuildMessage Implement command interface

type Event

type Event struct {
	Ignore bool
	Format string
	Listen []string
}

Event event command

func (Event) BuildMessage

func (e Event) BuildMessage() string

BuildMessage Implement command interface

type Exit

type Exit struct{}

Exit command

func (Exit) BuildMessage

func (Exit) BuildMessage() string

BuildMessage Implement command interface

type Filter

type Filter struct {
	Delete      bool
	EventHeader string
	FilterValue string
}

Filter command

func (Filter) BuildMessage

func (f Filter) BuildMessage() string

BuildMessage Implement command interface

type Linger

type Linger struct {
	Enabled bool
}

Linger command

func (Linger) BuildMessage

func (l Linger) BuildMessage() string

BuildMessage Implement command interface

type Log

type Log struct {
	Enabled bool
	Level   int
}

Log command

func (Log) BuildMessage

func (l Log) BuildMessage() string

BuildMessage Implement command interface

type MyEvents

type MyEvents struct {
	Format string
	UUID   string
}

MyEvents myevents

func (MyEvents) BuildMessage

func (m MyEvents) BuildMessage() string

BuildMessage Implement command interface

type SendEvent

type SendEvent struct {
	Name    string
	Headers textproto.MIMEHeader
	Body    string
}

SendEvent send event

func (*SendEvent) BuildMessage

func (s *SendEvent) BuildMessage() string

BuildMessage Implement command interface

type SendMessage

type SendMessage struct {
	UUID    string
	Headers textproto.MIMEHeader
	Body    string
	Sync    bool
	SyncPri bool
}

SendMessage command

func (*SendMessage) BuildMessage

func (s *SendMessage) BuildMessage() string

BuildMessage Implement command interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL