Versions in this module Expand all Collapse all v0 v0.31.0 Apr 9, 2024 v0.30.0 Mar 28, 2022 Changes in this version + var FlatSwaggerJSON json.RawMessage + var SwaggerJSON json.RawMessage + type Authable interface + KeyAuth func(token string) (interface{}, error) + type Configurable interface + ConfigureFlags func(api *operations.AToDoListApplicationAPI) + ConfigureServer func(s *http.Server, scheme, addr string) + ConfigureTLS func(tlsConfig *tls.Config) + CustomConfigure func(api *operations.AToDoListApplicationAPI) + SetupGlobalMiddleware func(handler http.Handler) http.Handler + SetupMiddlewares func(handler http.Handler) http.Handler + type Handler interface + var Impl Handler = implementation.New() + type Server struct + CleanupTimeout time.Duration + EnabledListeners []string + GracefulTimeout time.Duration + Host string + KeepAlive time.Duration + ListenLimit int + MaxHeaderSize flagext.ByteSize + Port int + ReadTimeout time.Duration + SocketPath flags.Filename + TLSCACertificate flags.Filename + TLSCertificate flags.Filename + TLSCertificateKey flags.Filename + TLSHost string + TLSKeepAlive time.Duration + TLSListenLimit int + TLSPort int + TLSReadTimeout time.Duration + TLSWriteTimeout time.Duration + WriteTimeout time.Duration + func NewServer(api *operations.AToDoListApplicationAPI) *Server + func (s *Server) ConfigureAPI() + func (s *Server) ConfigureFlags() + func (s *Server) Fatalf(f string, args ...interface{}) + func (s *Server) GetHandler() http.Handler + func (s *Server) HTTPListener() (net.Listener, error) + func (s *Server) Listen() error + func (s *Server) Logf(f string, args ...interface{}) + func (s *Server) Serve() (err error) + func (s *Server) SetAPI(api *operations.AToDoListApplicationAPI) + func (s *Server) SetHandler(handler http.Handler) + func (s *Server) Shutdown() error + func (s *Server) TLSListener() (net.Listener, error) + func (s *Server) UnixListener() (net.Listener, error) + type TodosHandler interface + AddOne func(params todos.AddOneParams, principal interface{}) middleware.Responder + DestroyOne func(params todos.DestroyOneParams, principal interface{}) middleware.Responder + FindTodos func(params todos.FindTodosParams, principal interface{}) middleware.Responder + UpdateOne func(params todos.UpdateOneParams, principal interface{}) middleware.Responder