Versions in this module Expand all Collapse all v1 v1.0.0 Jun 25, 2019 Changes in this version + const ErrMethodNotAllowed + const ErrMissingContentType + const ErrMultipleContentTypes + const ErrUnsupportedContentType + const TagOptionalQueryArg + const TagRequiredContentType + const TagRequiredQueryArg + var AwsAccountIdQueryArg = QueryArg + var AwsAccountIdsOptionalQueryArg = QueryArg + var AwsAccountQueryArg = QueryArg + var AwsAccountsOptionalQueryArg = QueryArg + var BillPositoryQueryArg = QueryArg + var DateBeginQueryArg = QueryArg + var DateEndQueryArg = QueryArg + var DateQueryArg = QueryArg + var FileNameQueryArg = QueryArg + var RegisteredHandlers = make([]RegisteredHandler, 0, 0x40) + var ReportTypeQueryArg = QueryArg + var ShareIdQueryArg = QueryArg + func GetRequestBody(a Arguments, ptr interface{}) error + func MustRequestBody(a Arguments, ptr interface{}) + type Arguments map[interface{}]interface + type BackendId struct + BackendId string + func (d BackendId) Decorate(h Handler) Handler + type Cors struct + AllowCredentials bool + AllowHeaders []string + AllowOrigin []string + func (c Cors) Decorate(h Handler) Handler + type Decorator interface + Decorate func(Handler) Handler + type Documentation HandlerDocumentationBody + func (d Documentation) Decorate(h Handler) Handler + type ErrorBody struct + func (d ErrorBody) Decorate(h Handler) Handler + type Handler struct + Documentation HandlerDocumentation + Func HandlerFunc + func DocumentationHandler() Handler + func H(h SimpleHandler) Handler + func (h Handler) Register(pattern string) Handler + func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h Handler) With(ds ...Decorator) Handler + type HandlerDocumentation struct + Components map[string]HandlerDocumentation + type HandlerDocumentationBody struct + Description string + Summary string + Tags Tags + type HandlerFunc func(http.ResponseWriter, *http.Request, Arguments) (int, interface{}) + type MethodMuxer map[string]Handler + func (mm MethodMuxer) H() Handler + type PanicAsError struct + func (d PanicAsError) Decorate(h Handler) Handler + type QueryArg struct + Description string + Name string + Optional bool + Type QueryParser + type QueryArgBool struct + func (QueryArgBool) QueryParse(val string) (interface{}, error) + func (d QueryArgBool) FormatName() string + type QueryArgDate struct + func (QueryArgDate) QueryParse(val string) (interface{}, error) + func (d QueryArgDate) FormatName() string + type QueryArgInt struct + func (QueryArgInt) QueryParse(val string) (interface{}, error) + func (d QueryArgInt) FormatName() string + type QueryArgIntSlice struct + func (QueryArgIntSlice) QueryParse(val string) (interface{}, error) + func (d QueryArgIntSlice) FormatName() string + type QueryArgString struct + func (QueryArgString) QueryParse(val string) (interface{}, error) + func (d QueryArgString) FormatName() string + type QueryArgStringSlice struct + func (QueryArgStringSlice) QueryParse(val string) (interface{}, error) + func (d QueryArgStringSlice) FormatName() string + type QueryArgUint struct + func (QueryArgUint) QueryParse(val string) (interface{}, error) + func (d QueryArgUint) FormatName() string + type QueryArgUintSlice struct + func (QueryArgUintSlice) QueryParse(val string) (interface{}, error) + func (d QueryArgUintSlice) FormatName() string + type QueryArgs []QueryArg + func (qa QueryArgs) Decorate(h Handler) Handler + type QueryParser interface + FormatName func() string + QueryParse func(string) (interface{}, error) + type RegisteredHandler struct + Pattern string + type RequestBody struct + Example interface{} + func (rb RequestBody) Decorate(h Handler) Handler + type RequestContentType []string + func (rct RequestContentType) Decorate(h Handler) Handler + type RequestId struct + func (ri RequestId) Decorate(h Handler) Handler + type RouteLog struct + func (rl RouteLog) Decorate(h Handler) Handler + type SimpleHandler func(*http.Request, Arguments) (int, interface{}) + type Tags map[string][]string