Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addr string `yaml:"addr"` TLS bool `yaml:"tls"` User string `yaml:"user"` Pass string `yaml:"pass"` Search []*SearchConfig `yaml:"search"` }
Config is a config struct for LDAP.
type SearchConfig ¶
type SearchConfig struct { BaseDN string `yaml:"baseDN"` Scope int `yaml:"scope"` DerefAliases int `yaml:"derefAliases"` SizeLimit int `yaml:"sizeLimit"` TimeLimit int `yaml:"timeLimit"` Filter string `yaml:"filter"` Attributes []string `yaml:"attributes"` }
SearchConfig is configuration for a search request.
Click to show internal directories.
Click to hide internal directories.