Documentation ¶
Index ¶
Constants ¶
View Source
const ERROR_CLIENT_INSTANCE = "cloud_storage_connection : failed to get the storage client"
Variables ¶
This section is empty.
Functions ¶
func CloseStorageClient ¶
func CloseStorageClient(temp *StorageClientId)
func GetStorageClient ¶
func GetStorageClient(temp *StorageClientId) (*storage.Client, error)
Types ¶
type StorageClient ¶
type StorageClient struct { Id *StorageClientId MyContext *context.Context Once *sync.Once GcpProjectId string Opts []option.ClientOption Err *error // contains filtered or unexported fields }
type StorageClientId ¶
type StorageClientId struct {
Id string
}
type StorageClients ¶
type StorageClients struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.