Documentation ¶
Overview ¶
expose functions provided by internal package
Index ¶
- func IsTrustedRequest(r *http.Request, checkForward bool, trustedNets ...net.IPNet) bool
- func RawReply(code int) *reply
- func Register(a API, mx ...*http.ServeMux)
- func Reply(code int) *reply
- func SetGlobalCORS(enable bool, origin ...string)
- func WithGlobalActions(as ...Action)
- func WithLangSpecifier(lang string)
- type API
- type Action
- type ApiSpec
- type ParamSpec
- type ReplyDesc
- type ReplySpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTrustedRequest ¶
Types ¶
type Action ¶
type ApiSpec ¶
type ParamSpec ¶
type ReplyDesc ¶
type ReplySpec ¶
type ReplySpec = *reply
Click to show internal directories.
Click to hide internal directories.