Versions in this module Expand all Collapse all v1 v1.9.4 Apr 9, 2022 v1.9.3 Apr 9, 2022 Changes in this version + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler + type Argument string + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type CreateResource2JSONBody Resource + type CreateResource2JSONRequestBody CreateResource2JSONBody + type CreateResource2Params struct + InlineQueryArgument *int + type CreateResourceJSONBody EveryTypeRequired + type CreateResourceJSONRequestBody CreateResourceJSONBody + type EveryTypeOptional struct + ArrayInlineField *[]int + ArrayReferencedField *[]SomeObject + BoolField *bool + ByteField *[]byte + DateField *openapi_types.Date + DateTimeField *time.Time + DoubleField *float64 + FloatField *float32 + InlineObjectField ... + Int32Field *int32 + Int64Field *int64 + IntField *int + NumberField *float32 + ReferencedField *SomeObject + StringField *string + type EveryTypeRequired struct + ArrayInlineField []int + ArrayReferencedField []SomeObject + BoolField bool + ByteField []byte + DateField openapi_types.Date + DateTimeField time.Time + DoubleField float64 + EmailField *openapi_types.Email + FloatField float32 + InlineObjectField struct{ ... } + Int32Field int32 + Int64Field int64 + IntField int + NumberField float32 + ReferencedField SomeObject + StringField string + type GetWithArgsParams struct + HeaderArgument *int32 + OptionalArgument *int64 + RequiredArgument int64 + type GetWithContentTypeParamsContentType string + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type MiddlewareFunc func(http.HandlerFunc) http.HandlerFunc + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type ReservedKeyword struct + Channel *string + type Resource struct + Name string + Value float32 + type ResponseWithReference SomeObject + type ServerInterface interface + CreateResource func(w http.ResponseWriter, r *http.Request, argument Argument) + CreateResource2 func(w http.ResponseWriter, r *http.Request, inlineArgument int, ...) + GetEveryTypeOptional func(w http.ResponseWriter, r *http.Request) + GetReservedKeyword func(w http.ResponseWriter, r *http.Request) + GetResponseWithReference func(w http.ResponseWriter, r *http.Request) + GetSimple func(w http.ResponseWriter, r *http.Request) + GetWithArgs func(w http.ResponseWriter, r *http.Request, params GetWithArgsParams) + GetWithContentType func(w http.ResponseWriter, r *http.Request, ...) + GetWithReferences func(w http.ResponseWriter, r *http.Request, globalArgument int64, ...) + UpdateResource3 func(w http.ResponseWriter, r *http.Request, pFallthrough int) + type ServerInterfaceMock struct + CreateResource2Func func(w http.ResponseWriter, r *http.Request, inlineArgument int, ...) + CreateResourceFunc func(w http.ResponseWriter, r *http.Request, argument Argument) + GetEveryTypeOptionalFunc func(w http.ResponseWriter, r *http.Request) + GetReservedKeywordFunc func(w http.ResponseWriter, r *http.Request) + GetResponseWithReferenceFunc func(w http.ResponseWriter, r *http.Request) + GetSimpleFunc func(w http.ResponseWriter, r *http.Request) + GetWithArgsFunc func(w http.ResponseWriter, r *http.Request, params GetWithArgsParams) + GetWithContentTypeFunc func(w http.ResponseWriter, r *http.Request, ...) + GetWithReferencesFunc func(w http.ResponseWriter, r *http.Request, globalArgument int64, ...) + UpdateResource3Func func(w http.ResponseWriter, r *http.Request, pFallthrough int) + func (mock *ServerInterfaceMock) CreateResource(w http.ResponseWriter, r *http.Request, argument Argument) + func (mock *ServerInterfaceMock) CreateResource2(w http.ResponseWriter, r *http.Request, inlineArgument int, ...) + func (mock *ServerInterfaceMock) CreateResource2Calls() []struct{ ... } + func (mock *ServerInterfaceMock) CreateResourceCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetEveryTypeOptional(w http.ResponseWriter, r *http.Request) + func (mock *ServerInterfaceMock) GetEveryTypeOptionalCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetReservedKeyword(w http.ResponseWriter, r *http.Request) + func (mock *ServerInterfaceMock) GetReservedKeywordCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetResponseWithReference(w http.ResponseWriter, r *http.Request) + func (mock *ServerInterfaceMock) GetResponseWithReferenceCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetSimple(w http.ResponseWriter, r *http.Request) + func (mock *ServerInterfaceMock) GetSimpleCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetWithArgs(w http.ResponseWriter, r *http.Request, params GetWithArgsParams) + func (mock *ServerInterfaceMock) GetWithArgsCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetWithContentType(w http.ResponseWriter, r *http.Request, ...) + func (mock *ServerInterfaceMock) GetWithContentTypeCalls() []struct{ ... } + func (mock *ServerInterfaceMock) GetWithReferences(w http.ResponseWriter, r *http.Request, globalArgument int64, ...) + func (mock *ServerInterfaceMock) GetWithReferencesCalls() []struct{ ... } + func (mock *ServerInterfaceMock) UpdateResource3(w http.ResponseWriter, r *http.Request, pFallthrough int) + func (mock *ServerInterfaceMock) UpdateResource3Calls() []struct{ ... } + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) CreateResource(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateResource2(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetEveryTypeOptional(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetReservedKeyword(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetResponseWithReference(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetSimple(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetWithArgs(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetWithContentType(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetWithReferences(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdateResource3(w http.ResponseWriter, r *http.Request) + type SimpleResponse struct + Name string + type SomeObject struct + Name string + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type UpdateResource3JSONBody struct + Id *int + Name *string + type UpdateResource3JSONRequestBody UpdateResource3JSONBody