Versions in this module Expand all Collapse all v0 v0.1.0 Mar 13, 2022 Changes in this version + const BasicAuthScopes + 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 AddInputJSONBody AddInputReqBody + type AddInputJSONRequestBody AddInputJSONBody + type AddInputReqBody struct + ChatId int64 + Description string + InputType string + Name string + UserId int64 + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + Middlewares []MiddlewareFunc + type ErrorResp struct + HttpStatus int + Message *string + Name string + type HttpServer struct + func NewHttpServer(app app.App) HttpServer + func (h HttpServer) AddInput(w http.ResponseWriter, r *http.Request) + type MiddlewareFunc func(http.HandlerFunc) http.HandlerFunc + type ServerInterface interface + AddInput func(w http.ResponseWriter, r *http.Request) + type ServerInterfaceWrapper struct + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) AddInput(w http.ResponseWriter, r *http.Request) + type SuccessResp struct + Success bool