object

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint        string
	AccessKeyID     string
	SecretAccessKey string

	Bucket    string
	BucketURL string
	// contains filtered or unexported fields
}

func (*Config) Empty added in v0.5.1

func (c *Config) Empty() bool

func (*Config) From

func (c *Config) From(app *config.App) *Config

func (*Config) Validate

func (c *Config) Validate() error

type Dependencies

type Dependencies struct{}

type Factory

--- Factory code block ---

func NewFactory

func NewFactory(mockOn ...component.MockOption) Factory

type Storage

type Storage interface {
	component.Component
	config.Watcher
	Put(ctx context.Context, key string, body io.Reader, contentType string) (url string, err error)
	Get(ctx context.Context, key string) (url string, err error)
}

--- Interface code block ---

Jump to

Keyboard shortcuts

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