storage

package
v0.0.0-...-18998a6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	BucketName string
	Bucket     *storage.BucketHandle
}

Storage - Cloud Storageの構造体

func NewClient

func NewClient(ctx context.Context, app *firebase.App, bucketName string) (*Storage, error)

NewClient - Storageに接続

func (*Storage) Write

func (s *Storage) Write(ctx context.Context, path string, data []byte) (string, error)

Write - CLoud Storageにアップロード

Jump to

Keyboard shortcuts

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