Documentation ¶
Index ¶
- type FileInfo
- type Operation
- type StorageService
- type UnimplementedStoragePlugin
- func (*UnimplementedStoragePlugin) Delete(ctx context.Context, bucket string, key string) error
- func (*UnimplementedStoragePlugin) ListFiles(ctx context.Context, bucket string) ([]*FileInfo, error)
- func (*UnimplementedStoragePlugin) PreSignUrl(ctx context.Context, bucket string, key string, operation Operation, ...) (string, error)
- func (*UnimplementedStoragePlugin) Read(ctx context.Context, bucket string, key string) ([]byte, error)
- func (*UnimplementedStoragePlugin) Write(ctx context.Context, 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(ctx context.Context, bucket string, key string) ([]byte, error) Write(ctx context.Context, bucket string, key string, object []byte) error Delete(ctx context.Context, bucket string, key string) error ListFiles(ctx context.Context, bucket string) ([]*FileInfo, error) PreSignUrl(ctx context.Context, bucket string, key string, operation Operation, expiry uint32) (string, error) }
type UnimplementedStoragePlugin ¶
type UnimplementedStoragePlugin struct{}
func (*UnimplementedStoragePlugin) PreSignUrl ¶
Click to show internal directories.
Click to hide internal directories.