serverHandler

package
v1.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const TypeDir = template.HTML("dir")
View Source
const TypeFile = template.HTML("file")

Variables

This section is empty.

Functions

func NewVhostHandler added in v1.15.1

func NewVhostHandler(
	p *param.Param,
	logger *serverLog.Logger,
	theme tpl.Theme,
) (handler http.Handler, errs []error)

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 (info SortState) CurrentSort() string

func (SortState) DirSort added in v1.8.0

func (info SortState) DirSort() dirSort

func (SortState) Key added in v1.8.0

func (info SortState) Key() string

func (SortState) NextDirSort added in v1.8.0

func (info SortState) NextDirSort() string

func (SortState) NextNameSort added in v1.8.0

func (info SortState) NextNameSort() string

func (SortState) NextSizeSort added in v1.8.0

func (info SortState) NextSizeSort() string

func (SortState) NextTimeSort added in v1.8.0

func (info SortState) NextTimeSort() string

func (SortState) NextTypeSort added in v1.8.3

func (info SortState) NextTypeSort() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL