Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresDatabase ¶
Types ¶
type Application ¶
func App ¶
func App() Application
type Env ¶
type Env struct { AppEnv string `mapstructure:"APP_ENV"` ServerAddress string `mapstructure:"SERVER_ADDRESS"` ContextTimeout int `mapstructure:"CONTEXT_TIMEOUT"` AccessTokenExpiryHour int `mapstructure:"ACCESS_TOKEN_EXPIRY_HOUR"` RefreshTokenExpiryHour int `mapstructure:"REFRESH_TOKEN_EXPIRY_HOUR"` AccessTokenSecret string `mapstructure:"ACCESS_TOKEN_SECRET"` RefreshTokenSecret string `mapstructure:"REFRESH_TOKEN_SECRET"` PostgresUser string `mapstructure:"POSTGRES_USER"` PostgresPassword string `mapstructure:"POSTGRES_PASSWORD"` PostgresDB string `mapstructure:"POSTGRES_DB"` PostgresData string `mapstructure:"PG_DATA"` PostgresHost string `mapstructure:"PG_HOST"` }
Click to show internal directories.
Click to hide internal directories.