config

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Port                        int             `yaml:"PORT"`
	MonPort                     int             `yaml:"MON_PORT"`
	CLickhouse                  config.Settings `yaml:",inline"`
	ClickhouseFileIndexDatabase string          `yaml:"CLICKHOUSE_FILE_INDEX_DATABASE"`
	TokenExchangeJWTKeySetURL   string          `yaml:"TOKEN_EXCHANGE_JWK_KEY_SET_URL"`
	TokenExchangeIssuer         string          `yaml:"TOKEN_EXCHANGE_ISSUER_URL"`
	VehicleNFTAddress           string          `yaml:"VEHICLE_NFT_ADDRESS"`
	MaxRequestDuration          string          `yaml:"MAX_REQUEST_DURATION"`
	S3AWSRegion                 string          `yaml:"S3_AWS_REGION"`
	S3AWSAccessKeyID            string          `yaml:"S3_AWS_ACCESS_KEY_ID"`
	S3AWSSecretAccessKey        string          `yaml:"S3_AWS_SECRET_ACCESS_KEY"`
	VINVCBucket                 string          `yaml:"VINVC_BUCKET"`
	VINVCDataType               string          `yaml:"VINVC_DATA_TYPE"`
}

Settings contains the application config.

Jump to

Keyboard shortcuts

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