Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogMiddleware ¶
func LogMiddleware(conf *configuration.Configuration, group string) echo.MiddlewareFunc
LogMiddleware set the own logger
func RequestMiddleware ¶
func RequestMiddleware(conf *configuration.Configuration) echo.MiddlewareFunc
Types ¶
type Server ¶
type Server struct { // Name the server name Name string // contains filtered or unexported fields }
Server the server struct
func NewServer ¶
func NewServer(conf *configuration.Configuration) Server
func (Server) Init ¶
func (server Server) Init(conf *configuration.Configuration, webFiles *embed.FS) error
Init initialize the server middlewares, routes and embed resources
func (Server) Start ¶
func (server Server) Start(conf *configuration.Configuration) error
Start starts the http server. Before starting, it is connected with the embed resources
Click to show internal directories.
Click to hide internal directories.