command

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfluenceCommandHandler = Handler{
	// contains filtered or unexported fields
}

Functions

func GetCommand

func GetCommand(pAPI PluginAPI) (*model.Command, error)

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 added in v1.3.0

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

Jump to

Keyboard shortcuts

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