Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitCmd ¶
type InitCmd struct {
PostgresDSN string `env:"APP_POSTGRES_DSN" required:"" name:"postgres-dsn" help:"Postgres Connection URL."`
}
type MigrateCmd ¶
type ServeCmd ¶
type ServeCmd struct { BackendListenAddress string `env:"APP_BACKEND_LISTEN_ADDRESS" default:":8080" name:"backend-listen-address" help:"Address to listen on."` PostgresDSN string `env:"APP_POSTGRES_DSN" required:"" name:"postgres-dsn" help:"Postgres Connection URL."` ConfigPath string `env:"APP_CONFIG_PATH" required:"" name:"config-path" help:"Path to the config file."` }
Click to show internal directories.
Click to hide internal directories.