command

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ARTAG_REGEXP = regexp.MustCompile("(?i)^(?:A|R)TAG\\s(.+)$")
)

Functions

This section is empty.

Types

type ARTagCommandRedispatcher

type ARTagCommandRedispatcher struct {
	// contains filtered or unexported fields
}

func NewARTagCommandRedispatcher

func NewARTagCommandRedispatcher(bus cmmd.CommandBus) *ARTagCommandRedispatcher

func (*ARTagCommandRedispatcher) CanHandle

func (h *ARTagCommandRedispatcher) CanHandle(cmd cmmd.Command) bool

func (*ARTagCommandRedispatcher) Handle

func (h *ARTagCommandRedispatcher) Handle(cmd cmmd.Command)

type SimpleTextCommand

type SimpleTextCommand struct {
	c.Command
	// contains filtered or unexported fields
}

func NewSimpleTextCommand

func NewSimpleTextCommand(command string, connection *websocket.Conn) *SimpleTextCommand

func (*SimpleTextCommand) GetFrom

func (c *SimpleTextCommand) GetFrom() *websocket.Conn

func (*SimpleTextCommand) String

func (c *SimpleTextCommand) String() string

Jump to

Keyboard shortcuts

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