cloudstorage

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

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 CreateStorageClient

func CreateStorageClient(temp *StorageClient)

Create storage client

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL