v2

package
v0.0.0-...-1fa4a6b Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Configuration) (svc.Handler, error)

Types

type Configuration

type Configuration struct {
	Type ConfigurationType

	S3 pbImplStorageV2SharedS3.Configuration
}

func NewConfiguration

func NewConfiguration(mods ...Mod) Configuration

func (Configuration) IO

func (Configuration) Validate

func (c Configuration) Validate() error

func (Configuration) With

func (c Configuration) With(mods ...Mod) Configuration

type ConfigurationType

type ConfigurationType string
const (
	ConfigurationTypeS3 ConfigurationType = "s3"
)

type Mod

type Mod func(c Configuration) Configuration

Directories

Path Synopsis
s3

Jump to

Keyboard shortcuts

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