command

package
v0.0.0-...-0749a7e Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppHandler = Handler{
	// contains filtered or unexported fields
}
View Source
var CommandHandler = Handler{
	// contains filtered or unexported fields
}
View Source
var SwaggerHandler = Handler{
	// contains filtered or unexported fields
}

Functions

func GetCommands

func GetCommands(pAPI PluginAPI) []*model.Command

Types

type Handler

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

func (Handler) Handle

func (ch Handler) Handle(context *model.CommandArgs, args ...string) *model.CommandResponse

type HandlerFunc

type HandlerFunc func(context *model.CommandArgs, args ...string) *model.CommandResponse

type PluginAPI

type PluginAPI interface {
	GetBundlePath() (string, error)
}

Jump to

Keyboard shortcuts

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