Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commander ¶
type Commander interface { Add(cmd string, handler domain.ActionFunc) error GetAction(command string) (domain.ActionFunc, error) }
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler(c Commander, l Logger) *HTTPHandler
func (*HTTPHandler) ServeHTTP ¶
func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SudoContent ¶
Click to show internal directories.
Click to hide internal directories.