Documentation
¶
Index ¶
- type CacheDriver
- func (b *CacheDriver) Expire(ctx context.Context, id string) error
- func (b *CacheDriver) Get(ctx context.Context, id string) (interface{}, error)
- func (b *CacheDriver) GetAppCache(ctx context.Context, projectId string) (*shared.ApplicationCache, error)
- func (b *CacheDriver) GetProject(ctx context.Context, projectId string) (*protobuff.Project, error)
- func (b *CacheDriver) ListKeys(ctx context.Context) ([]string, error)
- func (b *CacheDriver) Put(ctx context.Context, id string, cache interface{}) error
- func (b *CacheDriver) PutAppCache(ctx context.Context, projectId string, cache *shared.ApplicationCache) error
- func (b *CacheDriver) SaveProject(ctx context.Context, project *protobuff.Project) (*protobuff.Project, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheDriver ¶
func GetCacheDriver ¶
func GetCacheDriver() (*CacheDriver, error)
func (*CacheDriver) Get ¶
func (b *CacheDriver) Get(ctx context.Context, id string) (interface{}, error)
func (*CacheDriver) GetAppCache ¶
func (b *CacheDriver) GetAppCache(ctx context.Context, projectId string) (*shared.ApplicationCache, error)
func (*CacheDriver) GetProject ¶
func (*CacheDriver) ListKeys ¶
func (b *CacheDriver) ListKeys(ctx context.Context) ([]string, error)
func (*CacheDriver) Put ¶
func (b *CacheDriver) Put(ctx context.Context, id string, cache interface{}) error
func (*CacheDriver) PutAppCache ¶
func (b *CacheDriver) PutAppCache(ctx context.Context, projectId string, cache *shared.ApplicationCache) error
func (*CacheDriver) SaveProject ¶
Click to show internal directories.
Click to hide internal directories.