Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the echo http server as API Server.
func New ¶
func New(conf *config.Server, logger *zerolog.Logger, promMiddlewareConfig echoprometheus.MiddlewareConfig) *Server
New creates a new wrapped server.
func (*Server) RegisterAPI ¶
func (s *Server) RegisterAPI(apiImplementation apiServerDefinition.ServerInterface)
RegisterAPI registers api spec and api implementation to the echo server.
Click to show internal directories.
Click to hide internal directories.