Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
ErrorResponse defines a generic error response for a web request
type Module ¶
type Module interface {
Register(router *echo.Echo) // The function which registers the endpoints on the router
Start() // Executed when the server starts
Stop() // Executed when the server stops
}
Module defines a server module
type Server ¶
type Server struct {
DefaultPort string
PrintRoutes bool
UseJobQueue bool
JobQueuePoolSize int
JobQueueConcurrency int
// contains filtered or unexported fields
}
Server is an abstraction of a webserver
func (*Server) StartWithListener ¶ added in v1.0.4
StartWithListener starts the webserver using the given listener
Click to show internal directories.
Click to hide internal directories.