Documentation ¶
Index ¶
- func AllowCookie(yesno bool)
- func IsCookieAllowed() 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)
- func WithPanicLogger(f func(mesg string, trace []string))
- type API
- type Action
- type ApiSpec
- type NetRange
- type ParamSpec
- type ReplyDesc
- type ReplySpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type ApiSpec ¶
type NetRange ¶
type NetRange struct {
// contains filtered or unexported fields
}
func (*NetRange) IsTrustedRequest ¶
type ParamSpec ¶
type ReplyDesc ¶
type ReplySpec ¶
type ReplySpec = *reply
Click to show internal directories.
Click to hide internal directories.