Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Environment string `mapstructure:"ENVIRONMENT"` DBDriver string `mapstructure:"DB_DRIVER"` DBSource string `mapstructure:"DB_SOURCE"` RedisConnURL string `mapstructure:"REDIS_CONN_URL"` DBMigrationURL string `mapstructure:"DB_MIGRATION_URL"` EthereumRPCURL string `mapstructure:"ETHEREUM_RPC_URL"` HTTPServerAddress string `mapstructure:"HTTP_SERVER_ADDRESS"` GRPCServerAddress string `mapstructure:"GRPC_SERVER_ADDRESS"` AuthServiceGRPCServerAddress string `mapstructure:"AUTH_SERVICE_GRPC_SERVER_ADDRESS"` ServiceAuthPublicKeys []string `mapstructure:"SERVICE_AUTH_PUBLIC_KEYS"` ServiceAuthPrivateKeys []string `mapstructure:"SERVICE_AUTH_PRIVATE_KEYS"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.