structs

package module
v0.0.0-...-ca7168e Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: GPL-3.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Breadcrumbs []Crumb

Breadcrumbs defines a list of crumbs

type Configuration

type Configuration struct {
	HTTP HTTPConfig
}

Configuration defines the overall configuration

type Crumb

type Crumb struct {
	Text string
	Link string
}

Crumb defines a path segment

type HTTPConfig

type HTTPConfig struct {
	BindIP string
	Port   int
}

HTTPConfig describes the config used for controlling the http server

type Item

type Item struct {
	IsDir        bool
	Name         string
	HumanSize    int64
	HumanModTime string
	IsSymlink    bool
	URL          string
	Size         string
	Download     bool
	Viewable     bool
	SaltedHash   string
}

Item describes a file or directory

type Items

type Items []Item

Items defines multiple files or directories

Jump to

Keyboard shortcuts

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