Documentation
¶
Overview ¶
Package ldap provides a fluent Go API over the macOS LDAP framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LdapSyncRefresh ¶ added in v0.17.0
type LdapSyncRefresh int64
const ( LdapSyncRefreshNone LdapSyncRefresh = -1 LdapSyncRefreshPhaseFlag LdapSyncRefresh = 16 LdapSyncRefreshIdsetFlag LdapSyncRefresh = 32 LdapSyncRefreshDoneFlag LdapSyncRefresh = 64 LdapSyncRefreshPresent LdapSyncRefresh = 0 LdapSyncRefreshAdd LdapSyncRefresh = 1 LdapSyncRefreshModify LdapSyncRefresh = 2 LdapSyncRefreshDelete LdapSyncRefresh = 3 LdapSyncRefreshPresents LdapSyncRefresh = 16 LdapSyncRefreshDeletes LdapSyncRefresh = 19 LdapSyncRefreshPresentsIdset LdapSyncRefresh = 48 LdapSyncRefreshDeletesIdset LdapSyncRefresh = 51 LdapSyncRefreshDone LdapSyncRefresh = 80 )
func (LdapSyncRefresh) String ¶ added in v0.17.0
func (e LdapSyncRefresh) String() string
String returns the LdapSyncRefresh constant's name, or its numeric form when the value is not a known constant.