Documentation ¶
Overview ¶
Package matryoshka magazine media serve
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IStorage ¶
type IStorage interface { CreateClient(ctx context.Context) error SaveImg(ctx context.Context, prefix, bucket string, bufMap *BufMedia) error }
IStorage gcloud storage interface
type StorageClient ¶
type StorageClient struct {
// contains filtered or unexported fields
}
StorageClient bearer of cassandra driver
func (*StorageClient) CreateClient ¶
func (storageCli *StorageClient) CreateClient(ctx context.Context) error
CreateClient connect to Bucket
Click to show internal directories.
Click to hide internal directories.