gcloudfilestore

package
v1.1.38 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 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 GCloudFileStore

type GCloudFileStore struct {
	Client                           *storage.Client
	BucketName                       string
	DefaultObjectCacheDuration       *time.Duration
	DefaultPresignExpirationDuration time.Duration
}

func New

func New(bucketName string) *GCloudFileStore

func (*GCloudFileStore) PresignedGetUrl

func (g *GCloudFileStore) PresignedGetUrl(key string, opts ...filestoreoptions.PresignOption) (string, error)

func (*GCloudFileStore) PresignedPutUrl

func (g *GCloudFileStore) PresignedPutUrl(
	key string,
	opts ...filestoreoptions.PresignOption,
) (string, error)

Jump to

Keyboard shortcuts

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