config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package config holds application configuration settings.

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"`
	GRPCPort                  int             `yaml:"GRPC_PORT"`
	TokenExchangeJWTKeySetURL string          `yaml:"TOKEN_EXCHANGE_JWK_KEY_SET_URL"`
	TokenExchangeIssuer       string          `yaml:"TOKEN_EXCHANGE_ISSUER_URL"`
	VehicleNFTAddress         common.Address  `yaml:"VEHICLE_NFT_ADDRESS"`
	ChainID                   string          `yaml:"CHAIN_ID"`
	CloudEventBucket          string          `yaml:"CLOUDEVENT_BUCKET"`
	EphemeralBucket           string          `yaml:"EPHEMERAL_BUCKET"`
	S3AWSRegion               string          `yaml:"S3_AWS_REGION"`
	S3AWSAccessKeyID          string          `yaml:"S3_AWS_ACCESS_KEY_ID"`
	S3AWSSecretAccessKey      string          `yaml:"S3_AWS_SECRET_ACCESS_KEY"`
	Clickhouse                config.Settings `yaml:",inline"`
}

Settings contains the application config.

Jump to

Keyboard shortcuts

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