Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { PrefixReqPath string VhostReqPath string AliasReqPath string AliasFsPath string AliasFsRoot string NeedAuth bool AuthUserName string AuthSuccess bool RestrictAccess bool AllowAccess bool WantJson bool Status int Item os.FileInfo SubItems []os.FileInfo Logger *serverLog.Logger }
type Middleware ¶
type Middleware func(w http.ResponseWriter, r *http.Request, context *Context) (result ProcessResult)
type ProcessResult ¶ added in v1.15.3
type ProcessResult int
const ( GoNext ProcessResult = iota SkipRests Outputted )
Click to show internal directories.
Click to hide internal directories.