serverHandler

package
v0.0.0-...-c15384f Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 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 NeedResponseBody

func NeedResponseBody(method string) bool

func NewVhostHandler

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

Types

type SortState

type SortState struct {
	// contains filtered or unexported fields
}

func (SortState) CurrentSort

func (info SortState) CurrentSort() string

func (SortState) DirSort

func (info SortState) DirSort() dirSort

func (SortState) Key

func (info SortState) Key() string

func (SortState) NextDirSort

func (info SortState) NextDirSort() string

func (SortState) NextNameSort

func (info SortState) NextNameSort() string

func (SortState) NextSizeSort

func (info SortState) NextSizeSort() string

func (SortState) NextTimeSort

func (info SortState) NextTimeSort() string

func (SortState) NextTypeSort

func (info SortState) NextTypeSort() string

Jump to

Keyboard shortcuts

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