add user-header config value
This commit is contained in:
parent
8da46afab4
commit
a69f9c5bf2
1 changed files with 2 additions and 0 deletions
|
@ -101,6 +101,7 @@ type Config struct {
|
||||||
BehindProxy bool
|
BehindProxy bool
|
||||||
EnableWeb bool
|
EnableWeb bool
|
||||||
Version string // injected by App
|
Version string // injected by App
|
||||||
|
UserHeader string
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewConfig instantiates a default new server config
|
// NewConfig instantiates a default new server config
|
||||||
|
@ -146,5 +147,6 @@ func NewConfig() *Config {
|
||||||
BehindProxy: false,
|
BehindProxy: false,
|
||||||
EnableWeb: true,
|
EnableWeb: true,
|
||||||
Version: "",
|
Version: "",
|
||||||
|
UserHeader: "",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue