Documentation ¶
Index ¶
- Constants
- func NeedResponseBody(method string) bool
- func NewVhostHandler(p *param.Param, logger *serverLog.Logger, theme theme.Theme) (handler http.Handler, errs []error)
- func TryEnableWSL1Fix() bool
- type SortState
- func (info SortState) CurrentSort() string
- func (info SortState) DirSort() dirSort
- func (info SortState) Key() string
- func (info SortState) NextDirSort() string
- func (info SortState) NextNameSort() string
- func (info SortState) NextSizeSort() string
- func (info SortState) NextTimeSort() string
- func (info SortState) NextTypeSort() string
Constants ¶
View Source
const TypeDir = template.HTML("dir")
View Source
const TypeFile = template.HTML("file")
Variables ¶
This section is empty.
Functions ¶
func NeedResponseBody ¶ added in v1.15.3
func NewVhostHandler ¶ added in v1.15.1
func TryEnableWSL1Fix ¶ added in v1.13.6
func TryEnableWSL1Fix() bool
Types ¶
type SortState ¶ added in v1.8.0
type SortState struct {
// contains filtered or unexported fields
}
func (SortState) CurrentSort ¶ added in v1.8.0
func (SortState) NextDirSort ¶ added in v1.8.0
func (SortState) NextNameSort ¶ added in v1.8.0
func (SortState) NextSizeSort ¶ added in v1.8.0
func (SortState) NextTimeSort ¶ added in v1.8.0
func (SortState) NextTypeSort ¶ added in v1.8.3
Source Files ¶
- alias.go
- aliasHandler.go
- aliases.go
- archive.go
- archiveTar.go
- archiveZip.go
- asset.go
- auth.go
- content.go
- cors.go
- delete.go
- filter.go
- header.go
- hsts.go
- json.go
- log.go
- middleware.go
- mkdir.go
- multiplexHandler.go
- mutate.go
- page.go
- pathContext.go
- pathTransformHandler.go
- perm.go
- placeholderFileInfo.go
- preprocessHandler.go
- redirect.go
- renamedFileInfo.go
- responseData.go
- restrictAccess.go
- sort.go
- sortState.go
- upload.go
- util.go
- vhostHandler.go
- wsl1.go
Click to show internal directories.
Click to hide internal directories.