Documentation ¶
Index ¶
- func NewBuntDBBackend(params map[string]interface{}, ctx context.Context) (common.Backend, error)
- type BuntDBBackend
- func (b *BuntDBBackend) Delete(name string, ctx context.Context) error
- func (b *BuntDBBackend) Exists(name string, ctx context.Context) error
- func (b *BuntDBBackend) Get(name string, ctx context.Context) (*common.File, error)
- func (b *BuntDBBackend) ListGlob(ctx context.Context, prefix string) ([]*common.File, error)
- func (b *BuntDBBackend) Name() string
- func (b *BuntDBBackend) RunGC(ctx context.Context) ([]common.File, error)
- func (b *BuntDBBackend) Upload(name string, file *common.File, ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuntDBBackend ¶
type BuntDBBackend struct {
// contains filtered or unexported fields
}
func (*BuntDBBackend) Delete ¶
func (b *BuntDBBackend) Delete(name string, ctx context.Context) error
func (*BuntDBBackend) Exists ¶
func (b *BuntDBBackend) Exists(name string, ctx context.Context) error
func (*BuntDBBackend) Name ¶
func (b *BuntDBBackend) Name() string
Click to show internal directories.
Click to hide internal directories.