Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fn ¶
type Fn struct {
// contains filtered or unexported fields
}
Fn builtin fn handler wrapper supported annotations @fn {name} @readonly @authorization @permission @validation @cache {command} {ttl} @cache-control {options} @barrier @metric @middlewares >>> {path}.{IdentName} ... <<< @title {title} @description >>> {description} <<< @errors >>> {error_name} zh: {zh_message} en: {en_message} <<<
type FnHandlerMiddleware ¶
type FnHandlerMiddlewares ¶
type FnHandlerMiddlewares []FnHandlerMiddleware
func (FnHandlerMiddlewares) Handler ¶
func (middlewares FnHandlerMiddlewares) Handler(handler FnHandler) FnHandler
Click to show internal directories.
Click to hide internal directories.