Update ldap client implementation to github.com/go-ldap/ldap/v3 Add contexts to all relevant functions eg NewHandler Provide backwards compatibility for sql handlers
14 lines
276 B
Go
14 lines
276 B
Go
package monitoring
|
|
|
|
import "github.com/glauth/ldaps"
|
|
|
|
type MonitorInterface interface {
|
|
SetResponseTimeMetric(map[string]string, float64) error
|
|
SetLDAPMetric(map[string]string, float64) error
|
|
}
|
|
|
|
type LDAPServerInterface interface {
|
|
SetStats(bool)
|
|
GetStats() ldaps.Stats
|
|
}
|