Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCommand ¶
func RegisterCommand(proxy *proxy.Proxy, commandName string, simpleCommand SimpleCommand, aliases ...string)
Types ¶
type SimpleCommand ¶
type SimpleCommand interface { Execute(invocation SimpleCommandInvocation) error Suggest(invocation SimpleCommandInvocation) []string HasPermission(source command.Source) bool }
type SimpleCommandInvocation ¶
Click to show internal directories.
Click to hide internal directories.