Documentation ¶
Index ¶
- type Command
- type CommandCallback
- type Help
- type Info
- type LocalProvider
- func (p *LocalProvider) Add(cmd string, run CommandCallback)
- func (p *LocalProvider) CanExecute(cmd string, proto *protocol.Protocol) bool
- func (p *LocalProvider) Execute(cmd string, proto *protocol.Protocol) error
- func (p *LocalProvider) List() []protocol.Metadata
- func (p *LocalProvider) Register(cmd Command)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandCallback ¶
type LocalProvider ¶
type LocalProvider struct {
// contains filtered or unexported fields
}
func (*LocalProvider) Add ¶
func (p *LocalProvider) Add(cmd string, run CommandCallback)
func (*LocalProvider) CanExecute ¶
func (p *LocalProvider) CanExecute(cmd string, proto *protocol.Protocol) bool
func (*LocalProvider) Execute ¶
func (p *LocalProvider) Execute(cmd string, proto *protocol.Protocol) error
func (*LocalProvider) List ¶
func (p *LocalProvider) List() []protocol.Metadata
func (*LocalProvider) Register ¶
func (p *LocalProvider) Register(cmd Command)
Click to show internal directories.
Click to hide internal directories.