Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBackoffNotAllowed = caddyhttp.Error( http.StatusBadRequest, errors.New("directory backoff not allowed"), )
ErrBackoffNotAllowed is returned when a path contains ../.
View Source
var ErrNoRoot = caddyhttp.Error( http.StatusInternalServerError, errors.New("no root directive"), )
ErrNoRoot is returned when there is no root directive set.
Functions ¶
This section is empty.
Types ¶
type Sharer ¶
type Sharer struct {
}func (*Sharer) CaddyModule ¶
func (sh *Sharer) CaddyModule() caddy.ModuleInfo
Click to show internal directories.
Click to hide internal directories.