ctx

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCtx

type AppCtx struct {
	Log zerolog.Logger
	Cfg Config
	Ctx context.Context
}

type Config

type Config struct {
	Ristretto  ristretto.Config
	S3Backends []S3BackendConfig
	HttpConfig HttpConfig
}

type HttpConfig

type HttpConfig struct {
	Listen string
}

type S3BackendConfig

type S3BackendConfig struct {
	BucketName      string
	MaxObjectSize   int
	MaxAgeSeconds   int
	TransferBufSize int
	Credentials     aws.Credentials
	S3              s3.Options
}

Jump to

Keyboard shortcuts

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