Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EnvName string `env:"ENV_NAME"` ServerAddress string `env:"SERVER_ADDRESS"` PrimaryDBHost string `env:"DB_HOST"` PrimaryDBUser string `env:"DB_USER"` PrimaryDBPassword string `env:"DB_PASSWORD"` PrimaryDBName string `env:"DB_NAME"` PrimaryDBPort string `env:"DB_PORT"` ReplicaDBHost string `env:"DB_REPLICA_HOST"` ReplicaDBUser string `env:"DB_REPLICA_USER"` ReplicaDBPassword string `env:"DB_REPLICA_PASSWORD"` ReplicaDBName string `env:"DB_REPLICA_NAME"` ReplicaDBPort string `env:"DB_REPLICA_PORT"` MongoDBHost string `env:"MONGO_HOST"` MongoDBName string `env:"MONGO_NAME"` MongoDBUser string `env:"MONGO_USER"` MongoDBPassword string `env:"MONGO_PASSWORD"` MongoDBPort string `env:"MONGO_PORT"` LedgerGRPCAddr string `env:"LEDGER_GRPC_ADDR"` LedgerGRPCPort string `env:"LEDGER_GRPC_PORT"` CasdoorAddress string `env:"CASDOOR_ADDRESS"` CasdoorClientID string `env:"CASDOOR_CLIENT_ID"` CasdoorClientSecret string `env:"CASDOOR_CLIENT_SECRET"` CasdoorOrganizationName string `env:"CASDOOR_ORGANIZATION_NAME"` CasdoorApplicationName string `env:"CASDOOR_APPLICATION_NAME"` CasdoorEnforcerName string `env:"CASDOOR_ENFORCER_NAME"` JWKAddress string `env:"CASDOOR_JWK_ADDRESS"` }
Config is the top level configuration struct for the entire application.
Click to show internal directories.
Click to hide internal directories.