Documentation ¶
Index ¶
- type Server
- func (s *Server) AddMiddlewares(middlewares ...echo.MiddlewareFunc)
- func (s *Server) GetBasePath() string
- func (s *Server) GetEchoInstance() *echo.Echo
- func (s *Server) GracefulShutdown(ctx context.Context) error
- func (s *Server) RunServer(ctx context.Context, configEcho func(echo *echo.Echo)) error
- func (s *Server) SetupDefaultMiddlewares()
- type ServerConfig
- type ServerInterface
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
}
func NewServer ¶
func NewServer(config *ServerConfig) *Server
func (*Server) AddMiddlewares ¶
func (s *Server) AddMiddlewares(middlewares ...echo.MiddlewareFunc)
func (*Server) GetBasePath ¶
func (*Server) GetEchoInstance ¶
func (s *Server) GetEchoInstance() *echo.Echo
func (*Server) SetupDefaultMiddlewares ¶
func (s *Server) SetupDefaultMiddlewares()
type ServerConfig ¶
type ServerInterface ¶
Click to show internal directories.
Click to hide internal directories.