Documentation ¶ Index ¶ type Manager func NewManager(client *redis.Client) *Manager func (m *Manager) Get(c context.Context, bid id.BlobID) (*mysql.BlobRecord, error) func (m *Manager) Insert(c context.Context, br *mysql.BlobRecord) error func (m *Manager) Remove(c context.Context, bid id.BlobID) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Manager ¶ type Manager struct { // contains filtered or unexported fields } func NewManager ¶ func NewManager(client *redis.Client) *Manager NewManager creates a new redis manager. func (*Manager) Get ¶ func (m *Manager) Get(c context.Context, bid id.BlobID) (*mysql.BlobRecord, error) func (*Manager) Insert ¶ func (m *Manager) Insert(c context.Context, br *mysql.BlobRecord) error func (*Manager) Remove ¶ func (m *Manager) Remove(c context.Context, bid id.BlobID) error Source Files ¶ View all Source files redis.go Click to show internal directories. Click to hide internal directories.