Documentation
¶
Index ¶
- func DoHandler(controller component.Controller)
- func Handle(svm *web.ServiceMethod, apiInfo *web.ApiInfo, mapper web.ParamMapper, ...)
- func HandleFsApi(controller component.Controller, handler web.FsHandler)
- func HandleRestApi(controller component.Controller, handler web.RestHandler)
- func SetStaticHandler(h web.FsHandler)
- func SetWebHandler(h web.RestHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoHandler ¶
func DoHandler(controller component.Controller)
func Handle ¶ added in v1.3.6
func Handle(svm *web.ServiceMethod, apiInfo *web.ApiInfo, mapper web.ParamMapper, handler func(result interface{}) error, errHandler func(err error))
func HandleFsApi ¶ added in v1.3.4
func HandleFsApi(controller component.Controller, handler web.FsHandler)
func HandleRestApi ¶ added in v1.3.4
func HandleRestApi(controller component.Controller, handler web.RestHandler)
func SetStaticHandler ¶ added in v1.3.2
func SetWebHandler ¶
func SetWebHandler(h web.RestHandler)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.