Documentation ¶
Index ¶
- type Cache
- func (s *Cache) GetHashAndSize() (uint64, int64, error)
- func (s *Cache) GetSubtitle(id int, format string) ([]byte, error)
- func (s *Cache) GetSubtitles() ([]osdb.Subtitle, error)
- func (s *Cache) SetHashAndSize(hash uint64, size int64) error
- func (s *Cache) SetSubtitle(id int, format string, data []byte) error
- func (s *Cache) SetSubtitles(subs []osdb.Subtitle) error
- type CachePool
- type HashAndSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachePool ¶
type CachePool struct {
// contains filtered or unexported fields
}
func NewCachePool ¶
func NewCachePool(cl *cs.RedisClient) *CachePool
type HashAndSize ¶
Click to show internal directories.
Click to hide internal directories.