Versions in this module Expand all Collapse all v0 v0.0.2 Jan 4, 2020 v0.0.1 Jan 1, 2020 Changes in this version + type AssestFile struct + Content string + Mtime int64 + Name string + type AssestStruct struct + Files map[string]*AssestFile + var Assest *AssestStruct = &AssestStruct{ ... } + func (statics *AssestStruct) FileHandlerFunc(name string) http.HandlerFunc + func (statics *AssestStruct) GetAssestFile(name string) (*AssestFile, error) + func (statics *AssestStruct) HttpHandler(pdir string) http.Handler + func (statics AssestStruct) GetContent(name string) string + func (statics AssestStruct) GetFileNames(dir string) []string