Documentation ¶
Index ¶
Constants ¶
View Source
const ( PORT_GRPC = "PORT_GRPC" PORT_REST = "PORT_REST" PRODUCTION = "PRODUCTION" CONSUL_HOST = "CONSUL_HOST" CONSUL_TOKEN = "CONSUL_TOKEN" CONSUL_KEY_FOLDER = "CONSUL_KEY_FOLDER" CONSUL_KEY_VERSION = "CONSUL_KEY_VERSION" CONSUL_KEY_FILE = "CONSUL_KEY_FILE" TRACER_URL = "TRACER_URL" TRACER_NAME = "TRACER_NAME" VAULT_MOUNT_PATH = "VAULT_MOUNT_PATH" VAULT_PUBLIC_CERT_PATH = "VAULT_PUBLIC_CERT_PATH" VAULT_PRIVATE_CERT_PATH = "VAULT_PRIVATE_CERT_PATH" VAULT_REDIS_CREDS_PATH = "VAULT_REDIS_CREDS_PATH" VAULT_TOKEN = "VAULT_TOKEN" VAULT_HOST = "VAULT_HOST" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulEnv ¶
type Env ¶
type VaultEnv ¶
type VaultEnv struct { MountPath string `mapstructure:"VAULT_MOUNT_PATH"` PublicCertPath string `mapstructure:"VAULT_PUBLIC_CERT_PATH"` PrivateCertPath string `mapstructure:"VAULT_PRIVATE_CERT_PATH"` RedisCredsPath string `mapstructure:"VAULT_REDIS_CREDS_PATH"` Token string `mapstructure:"VAULT_TOKEN"` Host string `mapstructure:"VAULT_HOST"` }
Click to show internal directories.
Click to hide internal directories.