filestoreoptions

package
v1.1.39 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PresignConfig

type PresignConfig struct {
	CacheDuration      *time.Duration
	ExpirationDuration time.Duration
	DownloadOptions    *downloadOptions
}

type PresignOption

type PresignOption func(*PresignConfig)

func SetCacheDuration

func SetCacheDuration(duration time.Duration) PresignOption

func SetDownloadOptions

func SetDownloadOptions(fileName string, contentType string) PresignOption

func SetExpirationDuration

func SetExpirationDuration(duration time.Duration) PresignOption

Jump to

Keyboard shortcuts

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