ldap

package
v4.2.600+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address string `mapstructure:"address"`
	BaseDN  string `mapstructure:"baseDN"`
	AdminID string `mapstructure:"adminID"`
	AdminPW string `mapstructure:"adminPW"`
}

Configuration of LDAP server data source

func NewDefaultConfig

func NewDefaultConfig() *Config

Provide default configuration for LDAP

func (*Config) Validate

func (c *Config) Validate() error

Confirm the configuration is validated

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL