s3

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewS3Storage

func NewS3Storage(args oss.OSSArgs) (oss.OSS, error)

func ToPtr

func ToPtr[T any](value T) *T

Types

type S3Storage

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

func (*S3Storage) Delete

func (s *S3Storage) Delete(key string) error

func (*S3Storage) Exists

func (s *S3Storage) Exists(key string) (bool, error)

func (*S3Storage) List

func (s *S3Storage) List(prefix string) ([]oss.OSSPath, error)

func (*S3Storage) Load

func (s *S3Storage) Load(key string) ([]byte, error)

func (*S3Storage) Save

func (s *S3Storage) Save(key string, data []byte) error

func (*S3Storage) State

func (s *S3Storage) State(key string) (oss.OSSState, error)

func (*S3Storage) Type

func (s *S3Storage) Type() string

Jump to

Keyboard shortcuts

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