Documentation ¶
Index ¶
- func NewMySQLBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)
- type MySQLBackend
- func (m *MySQLBackend) Delete(ctx context.Context, key string) error
- func (m *MySQLBackend) Get(ctx context.Context, key string) (*physical.Entry, error)
- func (m *MySQLBackend) List(ctx context.Context, prefix string) ([]string, error)
- func (m *MySQLBackend) Put(ctx context.Context, entry *physical.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MySQLBackend ¶
type MySQLBackend struct {
// contains filtered or unexported fields
}
MySQLBackend is a physical backend that stores data within MySQL database.
func (*MySQLBackend) Delete ¶
func (m *MySQLBackend) Delete(ctx context.Context, key string) error
Delete is used to permanently delete an entry
Click to show internal directories.
Click to hide internal directories.