Documentation ¶
Index ¶
- type Handler
- func (h Handler) Exec(a *arg.Args, w http.ResponseWriter, r *http.Request)
- func (h Handler) HandlePanic(w http.ResponseWriter, err any)
- func (h Handler) Help(p *message.Printer) []string
- func (h Handler) Hidden() bool
- func (h *Handler) IsHidden() *Handler
- func (h Handler) IsRaw() bool
- func (h Handler) Method() string
- func (h Handler) ParamSpec(f *message.Printer) []hap.ParamSpec
- func (h Handler) ReplySpec() []hap.ReplySpec
- func (h Handler) Tags() url.Values
- func (h Handler) ValidateArgs(raw url.Values, arg *arg.Args) (string, []any)
- func (h *Handler) WithActions(acts ...hap.Action) *Handler
- func (h *Handler) WithHelp(text string, args ...any) *Handler
- func (h *Handler) WithParams(ps ...param.Param) *Handler
- func (h *Handler) WithReplySpec(rs ...hap.ReplySpec) *Handler
- func (h *Handler) WithTags(tags ...tag.Tag) *Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.