Discover Packages
github.com/Edbeer/paymentapi
config
package
Version:
v0.0.0-...-83f4222
Opens a new window with list of versions in this module.
Published: Feb 14, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Postgres struct {
PostgresqlHost string `env:"POSTGRES_HOST"`
PostgresqlUser string `env:"POSTGRES_USER"`
PostgresqlPassword string `env:"POSTGRES_PASSWORD"`
PostgresqlDbname string `env:"POSTGRES_DB"`
}
Postgresql config
type Server struct {
Port string `env:"PORT"`
JwtSecretKey string `env:"JWT_SECRET_KEY"`
ReadTimeout int `env:"READ_TIMEOUT"`
WriteTimeout int `env:"WRITE_TIMEOUT"`
IdleTimeout int `env:"IDLE_TIMEOUT"`
}
Server config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.