mirror of
https://github.com/netauth/ldap.git
synced 2024-11-24 04:21:55 -06:00
main: Add defaults
This commit is contained in:
parent
1c55b7d328
commit
1ce7cfb147
7
main.go
7
main.go
|
@ -13,6 +13,13 @@ import (
|
|||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
func init() {
|
||||
viper.SetDefault("ldap.bind", "localhost:389")
|
||||
viper.SetDefault("ldap.tls", false)
|
||||
viper.SetDefault("ldap.key", "/var/lib/netauth/keys/ldap.key")
|
||||
viper.SetDefault("ldap.cert", "/var/lib/netauth/keys/ldap.cert")
|
||||
}
|
||||
|
||||
func main() {
|
||||
var appLogger hclog.Logger
|
||||
|
||||
|
|
Loading…
Reference in a new issue