Versions in this module Expand all Collapse all v0 v0.2.0 Dec 28, 2024 v0.1.1 Apr 30, 2024 Changes in this version + const Api_keyScopes + func GetSwagger() (swagger *openapi3.T, err error) + 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 + func NewRouter() (http.Handler, error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + type Author = string + type BookMetadata struct + Asin *string + Author *string + Cover *string + Description *string + Duration *int + Genres *[]string + Isbn *string + Language *string + Narrator *string + PublishedYear *string + Publisher *string + Series *[]SeriesMetadata + Subtitle *string + Tags *[]string + Title string + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type MiddlewareFunc func(http.Handler) http.Handler + type N200 struct + Matches *[]BookMetadata + type N200JSONResponse struct + Matches *[]BookMetadata + type N400 struct + Error *string + type N400JSONResponse struct + Error *string + type N401 struct + Error *string + type N401JSONResponse struct + Error *string + type N500 struct + Error *string + type N500JSONResponse struct + Error *string + type Query = string + 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 SearchGoodreads200JSONResponse struct + func (response SearchGoodreads200JSONResponse) VisitSearchGoodreadsResponse(w http.ResponseWriter) error + type SearchGoodreads400JSONResponse struct + func (response SearchGoodreads400JSONResponse) VisitSearchGoodreadsResponse(w http.ResponseWriter) error + type SearchGoodreads401JSONResponse struct + func (response SearchGoodreads401JSONResponse) VisitSearchGoodreadsResponse(w http.ResponseWriter) error + type SearchGoodreads500JSONResponse struct + func (response SearchGoodreads500JSONResponse) VisitSearchGoodreadsResponse(w http.ResponseWriter) error + type SearchGoodreadsParams struct + Author *Author + Query Query + type SearchGoodreadsRequestObject struct + Params SearchGoodreadsParams + type SearchGoodreadsResponseObject interface + VisitSearchGoodreadsResponse func(w http.ResponseWriter) error + type SearchKindle200JSONResponse struct + func (response SearchKindle200JSONResponse) VisitSearchKindleResponse(w http.ResponseWriter) error + type SearchKindle400JSONResponse struct + func (response SearchKindle400JSONResponse) VisitSearchKindleResponse(w http.ResponseWriter) error + type SearchKindle401JSONResponse struct + func (response SearchKindle401JSONResponse) VisitSearchKindleResponse(w http.ResponseWriter) error + type SearchKindle500JSONResponse struct + func (response SearchKindle500JSONResponse) VisitSearchKindleResponse(w http.ResponseWriter) error + type SearchKindleParams struct + Author *Author + Query Query + type SearchKindleParamsRegion string + const Au + const Ca + const De + const Es + const Fr + const In + const It + const Jp + const Uk + const Us + type SearchKindleRequestObject struct + Params SearchKindleParams + Region SearchKindleParamsRegion + type SearchKindleResponseObject interface + VisitSearchKindleResponse func(w http.ResponseWriter) error + type SeriesMetadata struct + Sequence *string + Series string + type ServerInterface interface + SearchGoodreads func(w http.ResponseWriter, r *http.Request, params SearchGoodreadsParams) + SearchKindle func(w http.ResponseWriter, r *http.Request, region SearchKindleParamsRegion, ...) + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, ...) ServerInterface + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) SearchGoodreads(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) SearchKindle(w http.ResponseWriter, r *http.Request) + type StrictHTTPServerOptions struct + RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc + type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc + type StrictServerInterface interface + SearchGoodreads func(ctx context.Context, request SearchGoodreadsRequestObject) (SearchGoodreadsResponseObject, error) + SearchKindle func(ctx context.Context, request SearchKindleRequestObject) (SearchKindleResponseObject, error) + func NewServer() StrictServerInterface + 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 Unimplemented struct + func (_ Unimplemented) SearchGoodreads(w http.ResponseWriter, r *http.Request, params SearchGoodreadsParams) + func (_ Unimplemented) SearchKindle(w http.ResponseWriter, r *http.Request, region SearchKindleParamsRegion, ...) + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error