v1

package
v0.0.0-...-9b97c86 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 3 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 pbImplStorageV1SharedS3.Configuration
}

func NewConfiguration

func NewConfiguration(mods ...Mod) Configuration

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
shared
s3

Jump to

Keyboard shortcuts

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