Documentation
¶
Index ¶
- type S3
- func (m *S3) Exists(ctx context.Context, storagePath string) bool
- func (m *S3) Init(ctx context.Context, cfg storconfig.StorageConfig) error
- func (m *S3) JoinStoragePath(p string) string
- func (m *S3) Name() string
- func (m *S3) Save(ctx context.Context, r io.Reader, storagePath string) error
- func (m *S3) Type() storenum.StorageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
func (*S3) Init ¶
func (m *S3) Init(ctx context.Context, cfg storconfig.StorageConfig) error
func (*S3) JoinStoragePath ¶
func (*S3) Type ¶
func (m *S3) Type() storenum.StorageType
Click to show internal directories.
Click to hide internal directories.