package
Version:
v0.0.0-...-9a622ba
Opens a new window with list of versions in this module.
Published: Jun 3, 2024
License: EUPL-1.2
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type InitCmd struct {
PostgresDSN string `env:"MK_POSTGRES_DSN" required:"" name:"postgres-dsn" help:"Postgres Connection URL."`
}
type MigrateCmd struct {
Up UpCmd `cmd:"" help:"Migrate the API."`
Init InitCmd `cmd:"" help:"Init the API."`
}
type ServeCmd struct {
BackendListenAddress string `env:"MK_BACKEND_LISTEN_ADDRESS" default:":8080" name:"backend-listen-address" help:"Address to listen on."`
PostgresDSN string `env:"MK_POSTGRES_DSN" required:"" name:"postgres-dsn" help:"Postgres Connection URL."`
}
type UpCmd struct {
PostgresDSN string `env:"MK_POSTGRES_DSN" required:"" name:"postgres-dsn" help:"Postgres Connection URL."`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.