ctx

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 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
	Tracer trace.Tracer
	Meter  metric.Meter
	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