command

package
v0.0.0-...-9989f86 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2016 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTP    = "http"
	BUILTIN = "builtin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument struct {
	Name  string
	Value string
}

func (Argument) String

func (a Argument) String() string

type Command

type Command interface {
	Match(in string) (req interface{}, ok bool)
	Endpoint() endpoint.Endpoint
	Response(interface{}) (*message.Message, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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