Documentation ¶
Index ¶
- Constants
- func DefaultRPCFuncs(client *ldap.Client, ops ...rpcOpt) map[string]RPCFunc
- func WithAuth() func(r *rpcClient)
- func WithGroupUsers() func(r *rpcClient)
- func WithGroups() func(r *rpcClient)
- func WithOrganizationalUnits() func(r *rpcClient)
- func WithPing() func(r *rpcClient)
- func WithSearch() func(r *rpcClient)
- func WithUnitUsers() func(r *rpcClient)
- type LdapClient
- type LdapMsg
- type LdapRPC
- type LdapResp
- type LdapServer
- type RPCAuth
- type RPCFunc
- type RPCNodeUsers
- type RPCPag
- type RPCPagGql
Constants ¶
View Source
const ( RPCAuthMethod = "auth" RPCGroupsMethod = "groups" RPCUnitsMethod = "units" RPCSearchMethod = "search" RPCPingMethod = "ping" RPCGroupUsersMethod = "groupUsers" RPCUnitUsersMethod = "unitUsers" )
View Source
const ( ErrUnknown uint8 = iota ErrNoAgent ErrTimeout )
noinspection GoUnusedConst
Variables ¶
This section is empty.
Functions ¶
func WithGroupUsers ¶
func WithGroupUsers() func(r *rpcClient)
func WithGroups ¶
func WithGroups() func(r *rpcClient)
func WithOrganizationalUnits ¶
func WithOrganizationalUnits() func(r *rpcClient)
func WithSearch ¶
func WithSearch() func(r *rpcClient)
func WithUnitUsers ¶
func WithUnitUsers() func(r *rpcClient)
Types ¶
type LdapClient ¶
type LdapClient struct {
// contains filtered or unexported fields
}
type LdapServer ¶
type LdapServer struct {
// contains filtered or unexported fields
}
func Server ¶
func Server(timeout time.Duration) *LdapServer
func (*LdapServer) Close ¶
func (s *LdapServer) Close()
type RPCNodeUsers ¶
func (*RPCNodeUsers) LoadPag ¶
func (nu *RPCNodeUsers) LoadPag()
Click to show internal directories.
Click to hide internal directories.