Documentation
¶
Index ¶
- type Cache
- func (c *Cache) Close()
- func (c *Cache) FetchCategory(name string, ownerID uint64, fetch func() (database.Category, error)) (value database.Category, err error)
- func (c *Cache) FetchCentroids(categoryID uint64, fetch func() ([]database.Centroid, error)) (values []database.Centroid, err error)
- func (c *Cache) FetchOwner(name string, fetch func() (database.Owner, error)) (value database.Owner, err error)
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
}
func (*Cache) FetchCategory ¶
func (*Cache) FetchCentroids ¶
Click to show internal directories.
Click to hide internal directories.