Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoConfig ¶ added in v1.1.0
type LoggerConfig ¶ added in v1.1.0
type Server ¶
type Server struct {
Config ServerConfig
Echo *echo.Echo
Manager *manager.Manager
}
func DefaultServerFromEnv ¶
func DefaultServerFromEnv() *Server
func NewServer ¶
func NewServer(config ServerConfig) *Server
type ServerConfig ¶
type ServerConfig struct {
Address string
Port int
DebugEndpoints bool
Logger LoggerConfig
Echo EchoConfig
}
func DefaultServerConfigFromEnv ¶
func DefaultServerConfigFromEnv() ServerConfig
Click to show internal directories.
Click to hide internal directories.