Documentation ¶
Index ¶
- Constants
- func AuthenticationFunc(conn *ldap.Conn, params interface{}) (error, interface{})
- func ModifyLdapUserPasswdFunc(conn *ldap.Conn, params interface{}) (error, interface{})
- func SearchLdapUsersFunc(conn *ldap.Conn, params interface{}) (error, interface{})
- func WithLDAPConn(config *LdapConfig, params interface{}, ...) (error, interface{})
- type LDAPPool
- type LdapConfig
- type LdapError
Constants ¶
View Source
const MaxLdapPoolSize int = 3
Variables ¶
This section is empty.
Functions ¶
func AuthenticationFunc ¶
func AuthenticationFunc(conn *ldap.Conn, params interface{}) (error, interface{})
func ModifyLdapUserPasswdFunc ¶
func ModifyLdapUserPasswdFunc(conn *ldap.Conn, params interface{}) (error, interface{})
func SearchLdapUsersFunc ¶
func SearchLdapUsersFunc(conn *ldap.Conn, params interface{}) (error, interface{})
func WithLDAPConn ¶
func WithLDAPConn(config *LdapConfig, params interface{}, fn func(conn *ldap.Conn, params interface{}) (error, interface{})) (error, interface{})
Types ¶
type LdapConfig ¶
func (*LdapConfig) GetUserDN ¶
func (lc *LdapConfig) GetUserDN() string
Click to show internal directories.
Click to hide internal directories.