mirror of
https://github.com/DJSundog/wg-portal.git
synced 2025-02-17 08:03:43 -05:00
10 lines
312 B
Go
10 lines
312 B
Go
|
package ldap
|
||
|
|
||
|
type Config struct {
|
||
|
URL string `yaml:"url" envconfig:"LDAP_URL"`
|
||
|
StartTLS bool `yaml:"startTLS" envconfig:"LDAP_STARTTLS"`
|
||
|
BaseDN string `yaml:"dn" envconfig:"LDAP_BASEDN"`
|
||
|
BindUser string `yaml:"user" envconfig:"LDAP_USER"`
|
||
|
BindPass string `yaml:"pass" envconfig:"LDAP_PASSWORD"`
|
||
|
}
|