Documentation ¶
Index ¶
- func LogFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
- func NewRestfulAPI(prefix string, filters []restful.FilterFunction, modules []RestModule) http.Handler
- func NewRestfulAPIWithHealthCheck(prefix string, filters []restful.FilterFunction, modules []RestModule, ...) http.Handler
- type RestModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogFilter ¶
func LogFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
func NewRestfulAPI ¶
func NewRestfulAPI(prefix string, filters []restful.FilterFunction, modules []RestModule) http.Handler
func NewRestfulAPIWithHealthCheck ¶ added in v1.23.0
func NewRestfulAPIWithHealthCheck(prefix string, filters []restful.FilterFunction, modules []RestModule, healthCheckFun func() error) http.Handler
Types ¶
type RestModule ¶
Click to show internal directories.
Click to hide internal directories.