Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application abstracts all the functional components to be run by the server.
func Setup ¶
func Setup(cfg conf.ServerConfig) (Application, error)
Setup creates a new application using the given ServerConfig.
func (Application) Run ¶ added in v0.4.0
func (app Application) Run() error
Run serves the application services.
func (Application) Shutdown ¶ added in v0.4.0
func (app Application) Shutdown() error
Shutdown releases any held resources by dependencies of this Application.
Click to show internal directories.
Click to hide internal directories.