Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStore ¶
type CacheStore struct {
// contains filtered or unexported fields
}
CacheStore contains the redis client connections for each item we are caching
func Connect ¶
func Connect(host string, database, port int) (*CacheStore, error)
Connect creates a CacheStore which contains a redis client for each object store we want to cache
func (*CacheStore) Token ¶
func (s *CacheStore) Token() store.TokenCacheStore
Token returns a postCacheStore with the redis client connected
Click to show internal directories.
Click to hide internal directories.