gcpcs

package
v0.0.0-...-5d5be80 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BucketName string

BucketName ..

Functions

func DeleteFile

func DeleteFile(bucket string, folder string, object string) error

DeleteFile removes specified object ..

func InitCloudStorage

func InitCloudStorage(projectID string, bucketName string)

InitCloudStorage ..

func MakePublic

func MakePublic(bucket, folder string, object string) error

MakePublic gives all users read access to an object.

func UploadFile

func UploadFile(file multipart.File, bucket string, folder string, object string) error

UploadFile uploads an object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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