Documentation ¶ Index ¶ type Backend func New(opt Options) (*Backend, error) func (b *Backend) List(ctx context.Context, prefix string) (simpleblob.BlobList, error) func (b *Backend) Load(ctx context.Context, name string) ([]byte, error) func (b *Backend) Store(ctx context.Context, name string, data []byte) error type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Backend ¶ type Backend struct { // contains filtered or unexported fields } func New ¶ func New(opt Options) (*Backend, error) func (*Backend) List ¶ func (b *Backend) List(ctx context.Context, prefix string) (simpleblob.BlobList, error) func (*Backend) Load ¶ func (b *Backend) Load(ctx context.Context, name string) ([]byte, error) func (*Backend) Store ¶ func (b *Backend) Store(ctx context.Context, name string, data []byte) error type Options ¶ type Options struct { RootPath string `yaml:"root_path"` } Options describes the storage options for the fs backend Source Files ¶ View all Source files fs.go Click to show internal directories. Click to hide internal directories.