Documentation ¶ Index ¶ Variables type Cache func NewCache(databasePath string) (*Cache, error) func (c *Cache) Close() error func (c *Cache) GetRepoStats(repoId string) (*v1.RepoStats, error) func (c *Cache) SetRepoStats(repoId string, stats *v1.RepoStats) error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNotFound = errors.New("not found") ) Functions ¶ This section is empty. Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func NewCache ¶ func NewCache(databasePath string) (*Cache, error) func (*Cache) Close ¶ func (c *Cache) Close() error func (*Cache) GetRepoStats ¶ func (c *Cache) GetRepoStats(repoId string) (*v1.RepoStats, error) func (*Cache) SetRepoStats ¶ func (c *Cache) SetRepoStats(repoId string, stats *v1.RepoStats) error Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.