Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Environment ¶
type Environment struct { Port string `envconfig:"PORT" default:"8080"` MetricsPort string `envconfig:"METRICS_PORT" default:"9090"` LogPath string `envconfig:"LOG_PATH" default:""` LogLevel string `envconfig:"LOG_LEVEL" default:"info"` DBSocket string `envconfig:"DB_SOCKET" default:"tcp"` DBHost string `envconfig:"DB_HOST" default:""` DBPort string `envconfig:"DB_PORT" default:"3306"` DBUsername string `envconfig:"DB_USERNAME" default:"root"` DBPassword string `envconfig:"DB_PASSWORD" default:""` DBDatabase string `envconfig:"DB_DATABASE" default:""` GCPServiceKeyJSON string `envconfig:"GCP_SERVICE_KEY_JSON" required:"true"` GCPStorageBucketName string `envconfig:"GCP_STORAGE_BUCKET_NAME" default:""` }
Environment - システム内で利用する環境変数の構造体
Click to show internal directories.
Click to hide internal directories.