Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Environment string
)
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Log log.Logger `wire:""` Server *ServerConfig StartTime time.Time // contains filtered or unexported fields }
func NewApplication ¶
func NewApplication(userProcessors []processor.Processor) *Application
func (*Application) GenMode ¶
func (r *Application) GenMode() *Application
func (*Application) Run ¶
func (r *Application) Run(args ...string)
func (*Application) Shutdown ¶
func (r *Application) Shutdown(sig os.Signal)
type ServerConfig ¶
type ServerConfig struct { types.AutoConfigure `prefix:"server"` Port int `yaml:"port"` }
Click to show internal directories.
Click to hide internal directories.