Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2025 Changes in this version + 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 PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func Start(port int, frontendFS fs.FS, configPath string) error + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type GetConfig200JSONResponse externalRef0.Config + func (response GetConfig200JSONResponse) VisitGetConfigResponse(w http.ResponseWriter) error + type GetConfig500Response struct + func (response GetConfig500Response) VisitGetConfigResponse(w http.ResponseWriter) error + type GetConfigRequestObject struct + type GetConfigResponseObject interface + VisitGetConfigResponse func(w http.ResponseWriter) error + 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 PutConfig200Response struct + func (response PutConfig200Response) VisitPutConfigResponse(w http.ResponseWriter) error + type PutConfig400Response struct + func (response PutConfig400Response) VisitPutConfigResponse(w http.ResponseWriter) error + type PutConfig500Response struct + func (response PutConfig500Response) VisitPutConfigResponse(w http.ResponseWriter) error + type PutConfigJSONRequestBody = externalRef0.Config + type PutConfigRequestObject struct + Body *PutConfigJSONRequestBody + type PutConfigResponseObject interface + VisitPutConfigResponse func(w http.ResponseWriter) error + 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 Server struct + func (s Server) GetConfig(_ context.Context, _ GetConfigRequestObject) (GetConfigResponseObject, error) + func (s Server) PutConfig(_ context.Context, request PutConfigRequestObject) (PutConfigResponseObject, error) + type ServerInterface interface + GetConfig func(w http.ResponseWriter, r *http.Request) + PutConfig func(w http.ResponseWriter, r *http.Request) + func NewServer(configPath string) ServerInterface + 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) GetConfig(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) PutConfig(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 + GetConfig func(ctx context.Context, request GetConfigRequestObject) (GetConfigResponseObject, error) + PutConfig func(ctx context.Context, request PutConfigRequestObject) (PutConfigResponseObject, error) + 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) GetConfig(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) PutConfig(w http.ResponseWriter, r *http.Request) + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error