Documentation
¶
Index ¶
Constants ¶
View Source
const Latest = "latest"
Variables ¶
View Source
var InvalidDestType = errors.New("Invalid dest type")
View Source
var NotFoundError = errors.New("Not found")
Functions ¶
func NewMongoCacheStorageError ¶
func NewMongoCacheStorageError(err error) *mongoCacheStorageError
func NewMongoDbCacheStorage ¶
func NewMongoDbCacheStorage() cacheStorage.CacheStorage
Types ¶
type CacheWrapper ¶
type CacheWrapper struct { Id string `json:"id"` Ver string `json:"ver"` Data string `json:"data"` Locked *LockedItem `json:"locked"` }
func (CacheWrapper) AddData ¶
func (w CacheWrapper) AddData(i interface{}) CacheWrapper
func (CacheWrapper) ExtractData ¶
func (w CacheWrapper) ExtractData(i interface{}) error
type LockedItem ¶
Click to show internal directories.
Click to hide internal directories.