command

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginHelp

type PluginHelp struct {
	Logger *logrus.Logger
}

func (PluginHelp) CommandName

func (p PluginHelp) CommandName() string

func (PluginHelp) ReceiveMessage

func (p PluginHelp) ReceiveMessage(input *botplug.MessageInput) *botplug.MessageOutput

type PluginID

type PluginID struct {
	Logger *logrus.Logger
}

func (PluginID) CommandName

func (p PluginID) CommandName() string

func (PluginID) ReceiveMessage

func (p PluginID) ReceiveMessage(input *botplug.MessageInput) *botplug.MessageOutput

type PluginList

type PluginList struct {
	SharedMem sharedmem.SharedMem
	Logger    *logrus.Logger
}

func (PluginList) CommandName

func (p PluginList) CommandName() string

func (PluginList) ReceiveMessage

func (p PluginList) ReceiveMessage(input *botplug.MessageInput) *botplug.MessageOutput

type PluginTitle

type PluginTitle struct {
	Rcon   rcon.RconClient
	Logger *logrus.Logger
}

func (PluginTitle) CommandName

func (p PluginTitle) CommandName() string

func (PluginTitle) ReceiveMessage

func (p PluginTitle) ReceiveMessage(input *botplug.MessageInput) *botplug.MessageOutput

type PluginWhitelist

type PluginWhitelist struct {
	SharedMem sharedmem.SharedMem
	Rcon      rcon.RconClient
	Logger    *logrus.Logger
}

func (PluginWhitelist) CommandName

func (p PluginWhitelist) CommandName() string

func (PluginWhitelist) ReceiveMessage

func (p PluginWhitelist) ReceiveMessage(input *botplug.MessageInput) *botplug.MessageOutput

Jump to

Keyboard shortcuts

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