command

package
v0.0.0-...-bf8aa72 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	verifier *middleware.SlackVerifier,
	handler command.Handler,
	log *zap.Logger,
) rest.Controller

Types

type Controller

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

func (*Controller) HandleCommand

func (ctrl *Controller) HandleCommand(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Controller) Register

func (ctrl *Controller) Register(router *httprouter.Router)

Jump to

Keyboard shortcuts

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