storageclient

package
v0.0.0-...-e1de4b4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrBucketNotFound bucketが見つからなかった
	ErrBucketNotFound = errors.New("bucket not found")

	// ErrBlobNotFound blobが見つからなかった
	ErrBlobNotFound = errors.New("blob not found")
)

Functions

This section is empty.

Types

type Meta

type Meta struct {
	Data        []byte
	Size        int64
	ContentType string
}

Meta fetchが返却する構造体

func FetchBlob

func FetchBlob(bucketName string, blobName string) (*Meta, error)

FetchBlob bucketNameのbucketからblobNameのblobを取ってきてMetaの形で返す

Jump to

Keyboard shortcuts

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