Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize
Types ¶
type Config ¶
type Config struct { ListenHost string `envconfig:"payment_listen_host" default:"localhost"` ListenPort string `envconfig:"payment_listen_port" default:"8080"` // we could split user and password from below PostgresURL string `envconfig:"payment_postgres_url" default:"postgres://usr:pwd@localhost:5432/events?sslmode=disable"` PostgresMigrationsPath string `envconfig:"payment_postgres_migrations_path" default:"file://payment/adapters/store/migrations"` }
read env vars
Click to show internal directories.
Click to hide internal directories.