ldap

package
v0.0.0-...-9633304 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (driver.Auther, error)

Types

type Config

type Config struct {
	Keys ConfigKeys
}

func (*Config) AddConfig

func (c *Config) AddConfig(key, value string) error

func (*Config) IsConfigOK

func (c *Config) IsConfigOK() error

func (*Config) IsValidConfigKey

func (c *Config) IsValidConfigKey(key string) error

func (*Config) Login

func (c *Config) Login(username, password string) (driver.LoginStatus, error)

func (*Config) ValidConfigKeyCount

func (c *Config) ValidConfigKeyCount(key string) error

type ConfigKeys

type ConfigKeys map[string]Count

func NewConfigKeys

func NewConfigKeys() ConfigKeys

type Count

type Count struct {
	Min int
	Max int
}

Jump to

Keyboard shortcuts

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