fe26

package
v0.0.0-...-eddeded Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerError            = "Server Error"
	ServerBadRequest       = "Bad Request"
	ServerNotFound         = "Not Found"
	StatusMovedPermanently = 301 // RFC 7231, 6.4.2
	Fe26Version            = "1.0.9"
	Fe26Repository         = "https://github.com/AndresBott/Fe26"
)

Variables

View Source
var Config = Settings{

	FeBase: "fe26",
	// contains filtered or unexported fields
}

Functions

func Fe26

func Fe26()

func ListFilesHTML

func ListFilesHTML(w http.ResponseWriter, r *http.Request)

func ListFilesJson

func ListFilesJson(w http.ResponseWriter, r *http.Request)

Types

type Breadcrumb struct {
	Name string
	Url  string
}

type Fe26Dir

type Fe26Dir string

Re implement http.Dir in order to not expose directories

func (Fe26Dir) Open

func (d Fe26Dir) Open(name string) (http.File, error)

Open opens file

type Settings

type Settings struct {
	FeBase string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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