Documentation ¶
Index ¶
Constants ¶
View Source
const TTL = 60 * 60 * 24 // 1 day
TTL is time to live for group in cache
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { File string // contains filtered or unexported fields }
Cache provides cache for groups
func (*Cache) GetGroupById ¶
GetGroupById returns group by id
func (*Cache) GetGroupByName ¶
GetGroupByName returns group by name. Not case sensitive
Click to show internal directories.
Click to hide internal directories.