Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersonCache ¶
type PersonCache interface { SetPersons(key string, value []model.Person) Get(key string) []model.Person }
func NewPersonCache ¶
func NewPersonCache(cfg config.Config, exp time.Duration) PersonCache
Click to show internal directories.
Click to hide internal directories.