controller

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 HandleForResult(method reflect.Method, methodVal reflect.Value, params []web.Param, mapper web.ParamMapper, handler resp.ResponseHandler) (result interface{}, ok bool)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL