Documentation
¶
Index ¶
- func Any(rootPath string, fun context.HandlerFunc)
- func Delete(rootPath string, fun context.HandlerFunc)
- func Delims(left, right string)
- func Get(rootPath string, fun context.HandlerFunc)
- func Head(rootPath string, fun context.HandlerFunc)
- func LoadHTMLFiles(files ...string)
- func LoadHTMLGlob(pattern string)
- func Options(rootPath string, fun context.HandlerFunc)
- func Patch(rootPath string, fun context.HandlerFunc)
- func Post(rootPath string, fun context.HandlerFunc)
- func Put(rootPath string, fun context.HandlerFunc)
- func RegisterController(controller interface{}, mapMethods ...string)
- func Run()
- func SetFuncMap(funcMap template.FuncMap)
- func Static(relativePath, root string)
- func StaticFile(relativePath, filePath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterController ¶
func RegisterController(controller interface{}, mapMethods ...string)
RegisterController 注册控制器
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.