config

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 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            `env:"PORT"`
	MonPort                   int            `env:"MON_PORT"`
	GRPCPort                  int            `env:"GRPC_PORT"`
	EnablePprof               bool           `env:"ENABLE_PPROF"`
	TokenExchangeJWTKeySetURL string         `env:"TOKEN_EXCHANGE_JWK_KEY_SET_URL"`
	TokenExchangeIssuer       string         `env:"TOKEN_EXCHANGE_ISSUER_URL"`
	VehicleNFTAddress         common.Address `env:"VEHICLE_NFT_ADDRESS"`
	ChainID                   string         `env:"CHAIN_ID"`
	CloudEventBucket          string         `env:"CLOUDEVENT_BUCKET"`
	EphemeralBucket           string         `env:"EPHEMERAL_BUCKET"`
	VCBucket                  string         `env:"VC_BUCKET"`
	S3AWSRegion               string         `env:"S3_AWS_REGION"`
	S3AWSAccessKeyID          string         `env:"S3_AWS_ACCESS_KEY_ID"`
	S3AWSSecretAccessKey      string         `env:"S3_AWS_SECRET_ACCESS_KEY"`
	Clickhouse                config.Settings
}

Settings contains the application config.

Jump to

Keyboard shortcuts

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