ldap-proxy/internal/ldap/type.go
2020-08-21 00:03:53 -07:00

20 lines
255 B
Go

package ldap
import (
"context"
"github.com/hashicorp/go-hclog"
ldap "github.com/ps78674/ldapserver"
)
type naClient interface {
AuthEntity(context.Context, string, string) error
}
type server struct {
*ldap.Server
c naClient
l hclog.Logger
}