storage

package
v0.0.0-...-faeec42 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KB = 1 << 10
	MB = 1 << 20
)

Size of maximum upload file i.e. upload object's size should not be more than 20MB.

Variables

This section is empty.

Functions

func GetStorageClient

func GetStorageClient() (storageClient *storage.Client, err error)

func NewUploadObject

func NewUploadObject(sourcePath, destinationPath, bucketName string) *uploadObject

Types

This section is empty.

Jump to

Keyboard shortcuts

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