config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageTypeBadger = "badger"
	StorageTypeS3     = "s3"
	StorageTypeCH     = "clickhouse"
	StorageTypeGCS    = "gcs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr        string
	ExitTimeout time.Duration
	Logger      log.Config
	AgentConfig agentutil.Config

	Badger     storageBadger.Config
	ClickHouse storageCH.Config
	S3         storageS3.Config
	GCS        storageGCS.Config
	// contains filtered or unexported fields
}

func (*Config) RegisterFlags

func (conf *Config) RegisterFlags(f *flag.FlagSet)

func (*Config) StorageType

func (conf *Config) StorageType() ([]string, error)

Jump to

Keyboard shortcuts

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