NotFoundHandler
This commit is contained in:
parent
e60e955f90
commit
46ef489b03
6 changed files with 61 additions and 25 deletions
|
@ -1,5 +1,22 @@
|
|||
package main
|
||||
|
||||
type GlobalConfiguration struct {
|
||||
Port string
|
||||
GraceTimeOut int64
|
||||
Docker *DockerProvider
|
||||
File *FileProvider
|
||||
Web *WebProvider
|
||||
Marathon *MarathonProvider
|
||||
}
|
||||
|
||||
func NewGlobalConfiguration() *GlobalConfiguration {
|
||||
globalConfiguration := new(GlobalConfiguration)
|
||||
// default values
|
||||
globalConfiguration.Port = ":8080"
|
||||
globalConfiguration.GraceTimeOut = 10
|
||||
|
||||
return globalConfiguration
|
||||
}
|
||||
|
||||
type Backend struct {
|
||||
Servers map[string]Server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue