Documentation ¶
Index ¶
- func CutPrefix(origPath string, pfxCount int) (ctxPrefix, routePath string)
- func Debug(d bool)
- func IsAJAX(req *http.Request) bool
- func ReadBodyBytes(w http.ResponseWriter, req *http.Request, maxSize int64) (result []byte)
- func Redirect(w http.ResponseWriter, req *http.Request, location string)
- type ClientError
- type Handler
- type RootMux
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadBodyBytes ¶
Types ¶
type ClientError ¶
type ClientError struct {
Msg string
}
func (ClientError) Error ¶
func (v ClientError) Error() string
Click to show internal directories.
Click to hide internal directories.