server

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 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 NewMultiplexer

func NewMultiplexer(
	p *param.Param,
	users user.List,
	theme tpl.Theme,
	logger log.Logger,
	errHandler *errorx.ErrHandler,
) http.Handler

func TryEnableWSL1Fix

func TryEnableWSL1Fix() bool

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