Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStorage ¶
type CloudStorage interface { Upload(ctx context.Context, bucketName string, byte []byte, objectName string) error Download(ctx context.Context, bucketName, objectName, destination string) error }
func NewCloudStorage ¶
func NewCloudStorage(conf *CloudStorageConf) (CloudStorage, error)
Click to show internal directories.
Click to hide internal directories.