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