ldap

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentLdap
	ErrorParamInvalid
	ErrorComponentNotInitialized
	ErrorConfigInvalid
	ErrorDependencyTLSDefault
)
View Source
const (
	ComponentType = "LDAP"
)

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig(indent string) []byte

func Register

func Register(cfg libcfg.Config, key string, cpt ComponentLDAP)

func RegisterNew

func RegisterNew(ctx libctx.FuncContext, cfg libcfg.Config, key string)

func SetDefaultConfig

func SetDefaultConfig(cfg []byte)

Types

type ComponentLDAP

type ComponentLDAP interface {
	cfgtps.Component

	SetAttributes(att []string)

	GetConfig() *lbldap.Config
	SetConfig(opt *lbldap.Config)

	GetLDAP() *lbldap.HelperLDAP
	SetLDAP(l *lbldap.HelperLDAP)
}

func Load

func Load(getCpt cfgtps.FuncCptGet, key string) ComponentLDAP

func New

Jump to

Keyboard shortcuts

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