Documentation ¶
Index ¶
- type FileInfo
- type Operation
- type StorageService
- type UnimplementedStoragePlugin
- func (*UnimplementedStoragePlugin) Delete(bucket string, key string) error
- func (*UnimplementedStoragePlugin) ListFiles(bucket string) ([]*FileInfo, error)
- func (*UnimplementedStoragePlugin) PreSignUrl(bucket string, key string, operation Operation, expiry uint32) (string, error)
- func (*UnimplementedStoragePlugin) Read(bucket string, key string) ([]byte, error)
- func (*UnimplementedStoragePlugin) Write(bucket string, key string, object []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageService ¶
type StorageService interface { Read(bucket string, key string) ([]byte, error) Write(bucket string, key string, object []byte) error Delete(bucket string, key string) error ListFiles(bucket string) ([]*FileInfo, error) PreSignUrl(bucket string, key string, operation Operation, expiry uint32) (string, error) }
type UnimplementedStoragePlugin ¶
type UnimplementedStoragePlugin struct{}
func (*UnimplementedStoragePlugin) Delete ¶
func (*UnimplementedStoragePlugin) Delete(bucket string, key string) error
func (*UnimplementedStoragePlugin) ListFiles ¶ added in v0.16.0
func (*UnimplementedStoragePlugin) ListFiles(bucket string) ([]*FileInfo, error)
func (*UnimplementedStoragePlugin) PreSignUrl ¶
Click to show internal directories.
Click to hide internal directories.