Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Env string `env:"ENV" envDefault:"dev"` URL string `env:"URL" envDefault:"http://localhost"` Port string `env:"PORT" envDefault:"8080"` Postgres PostgresConfig `envPrefix:"POSTGRES_"` JWT JwtConfig `envPrefix:"JWT_"` Redis RedisConfig `envPrefix:"REDIS_"` Namespace NamespaceConfig SMTP SMTPConfig `envPrefix:"SMTP_"` Midtrans MidtransConfig `envPrefix:"MIDTRANS_"` }
type MidtransConfig ¶
type NamespaceConfig ¶
type NamespaceConfig struct {
Namespace string `env:"NAMESPACE" envDefault:"application_namespace"`
}
type PostgresConfig ¶
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.