Documentation
¶
Index ¶
- func DoHandler(controller component.Controller)
- func FilterApis(controller component.Controller, handler web.ApiHandler)
- func HandleForResult(method reflect.Method, methodVal reflect.Value, params []web.Param, ...) (result interface{}, ok bool)
- func HandleStatic(url, dir string)
- func SetStaticHandler(h web.StaticHandler)
- func SetWebHandler(h web.ApiHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoHandler ¶
func DoHandler(controller component.Controller)
func FilterApis ¶
func FilterApis(controller component.Controller, handler web.ApiHandler)
func HandleForResult ¶ added in v1.3.0
func HandleStatic ¶ added in v1.3.2
func HandleStatic(url, dir string)
func SetStaticHandler ¶ added in v1.3.2
func SetStaticHandler(h web.StaticHandler)
func SetWebHandler ¶
func SetWebHandler(h web.ApiHandler)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.