Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DB struct { Host string Port uint16 User string Password string } LDAP struct { Enable bool Placeholder struct { Username string Password string } Addr string BaseDN string `yaml:"baseDN"` Level uint32 OrgID uint32 `yaml:"orgID"` AttrMapKey struct { Name string Email string } `yaml:"attrMapKey"` } Teams struct { Enable bool Entrypoint string } }
Config config
func ParseConfig ¶
ParseConfig parses a file to config
Click to show internal directories.
Click to hide internal directories.