Documentation ¶
Index ¶
- Constants
- func NewHandler(root string, emptyRoot bool, urlPrefix string, p *param.Param, ...) *handler
- 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 LOG_BUF_SIZE = 80
View Source
const TypeDir = template.HTML("dir")
View Source
const TypeFile = template.HTML("file")
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.