Versions in this module Expand all Collapse all v0 v0.0.1 Jun 18, 2024 Changes in this version + var ErrCertFileMissing = errors.New("no cert file found") + var ErrKeyFileMissing = errors.New("no key file found") + func NewOpenAPISpec() (*openapi3.T, error) + func NewRouter() (*route.Router, error) + type APIKey struct + Name string + func (k *APIKey) Scheme() *openapi3.SecurityScheme + type Basic struct + Password string + Username string + func (b *Basic) Scheme() *openapi3.SecurityScheme + type OAuth2 struct + AuthorizationURL string + RefreshURL string + Scopes map[string]string + TokenURL string + func (i *OAuth2) Scheme() *openapi3.SecurityScheme + type OpenID struct + ConnectURL string + func (i *OpenID) Scheme() *openapi3.SecurityScheme + type Server struct + func NewServer(c config.Config, l *zap.SugaredLogger) *Server + func (s *Server) AddHandler(r handler) + func (s *Server) StartEchoServer(ctx context.Context) error