Versions in this module Expand all Collapse all v0 v0.5.0 Oct 25, 2017 Changes in this version + var DefaultTabs = []Tab + var LAST_ELEMENT = regexp.MustCompile(`\/([^\/]+)\z`) + var Password = "" + func BasicAuth(pass http.HandlerFunc) http.HandlerFunc + func Cache(h http.Handler) http.HandlerFunc + func DebugLog(pass http.HandlerFunc) http.HandlerFunc + func FireItUp(svr *server.Server) error + func GetOnly(h http.HandlerFunc) http.HandlerFunc + func InitialSetup(pwd string) + func Log(pass http.HandlerFunc) http.HandlerFunc + func PostOnly(h http.HandlerFunc) http.HandlerFunc + func Setup(pass http.HandlerFunc, debug bool) http.HandlerFunc + func Timeago(t time.Time) string + type AssetDirectory struct + Children []os.FileInfo + ChildrenRead int + func NewAssetDirectory(name string, children []string, fs *AssetFS) *AssetDirectory + func (f *AssetDirectory) Readdir(count int) ([]os.FileInfo, error) + func (f *AssetDirectory) Stat() (os.FileInfo, error) + type AssetFS struct + Asset func(path string) ([]byte, error) + AssetDir func(path string) ([]string, error) + Prefix string + func (fs *AssetFS) Open(name string) (http.File, error) + type AssetFile struct + func NewAssetFile(name string, content []byte) *AssetFile + func (f *AssetFile) Readdir(count int) ([]os.FileInfo, error) + func (f *AssetFile) Size() int64 + func (f *AssetFile) Stat() (os.FileInfo, error) + type Context interface + Request func() string + Response func() string + type DefaultContext struct + func (d *DefaultContext) Locale() string + func (d *DefaultContext) Request() *http.Request + func (d *DefaultContext) Response() http.ResponseWriter + func (d *DefaultContext) Translation(str string) string + type DummyFile struct + Dir bool + Len int64 + Path string + func (f *DummyFile) IsDir() bool + func (f *DummyFile) ModTime() time.Time + func (f *DummyFile) Mode() os.FileMode + func (f *DummyFile) Name() string + func (f *DummyFile) Size() int64 + func (f *DummyFile) Sys() interface{} + type Queue struct + Name string + Size int64 + type Tab struct + Name string + Path string + type Translater interface + Locale func() string + Translation func(string) string