Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache represents a threadsafe DFSR member configuration cache.
func (*Cache) Retrieve ¶
func (mc *Cache) Retrieve(dn string) (member dfsr.MemberInfo, ok bool)
Retrieve returns the cached DFSR member configuration data for the given distinguished name. If the data is not present in the cache then ok will be false.
func (*Cache) Set ¶
func (mc *Cache) Set(member dfsr.MemberInfo)
Set saves the given DFSR member configuration data in the cache.
Click to show internal directories.
Click to hide internal directories.