googlestorage

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

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func InitClient

func InitClient(credentialsFile string, bucketName string) *Client

func (*Client) UploadPublicDataBase64

func (c *Client) UploadPublicDataBase64(folder string, fileName string, stringBase64 string) (string, error)

func (*Client) UploadPublicDataFile

func (c *Client) UploadPublicDataFile(folder string, fileName string, fileBytes []byte) (string, error)

func (*Client) UploadPublicMultipartFile

func (c *Client) UploadPublicMultipartFile(folder string, fileName string, file multipart.File, handle *multipart.FileHeader) (string, error)

Jump to

Keyboard shortcuts

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