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)
Click to show internal directories.
Click to hide internal directories.