package
Version:
v0.0.0-...-9e73b81
Opens a new window with list of versions in this module.
Published: Nov 1, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DbUsername = "DB_USERNAME"
DbPassword = "DB_PASSWORD"
DbHost = "DB_HOST"
DbPort = "DB_PORT"
DbName = "DB_NAME"
SslMode = "SSL_MODE"
SecretKey = "SECRET_KEY"
HttpPort = "HTTP_PORT"
)
type Config struct {
DbUsername string `json:"db_username"`
DbPassword string `json:"db_password"`
DbHost string `json:"db_host"`
DbPort int `json:"db_port"`
DbName string `json:"db_name"`
SslMode string `json:"ssl_mode"`
SecretKey string `json:"secret_key"`
HttpPort int `json:"http_port"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.