Documentation ¶ Index ¶ type CacheBackend func (c *CacheBackend) Delete(ctx context.Context, key []byte) error func (c *CacheBackend) Read(ctx context.Context, key []byte) (interface{}, error) func (c *CacheBackend) Write(ctx context.Context, key []byte, value interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CacheBackend ¶ type CacheBackend struct { sql.DB } func (*CacheBackend) Delete ¶ func (c *CacheBackend) Delete(ctx context.Context, key []byte) error func (*CacheBackend) Read ¶ func (c *CacheBackend) Read(ctx context.Context, key []byte) (interface{}, error) func (*CacheBackend) Write ¶ func (c *CacheBackend) Write(ctx context.Context, key []byte, value interface{}) error Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.