Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port string `env:"PORT" envDefault:"3000"` ClientID string `env:"GITHUB_CLIENT_ID"` ClientSecret string `env:"GITHUB_CLIENT_SECRET"` OauthState string `env:"OAUTH_STATE"` DatabaseURL string `env:"DATABASE_URL" envDefault:"postgres://localhost:5432/watchub?sslmode=disable"` SendgridAPIKey string `env:"SENDGRID_API_KEY"` Schedule string `env:"SCHEDULE" envDefault:"@every 1m"` SessionSecret string `env:"SESSION_SECRET" envDefault:"super-secret-session-secret"` SessionName string `env:"SESSION_NAME" envDefault:"JSESSIONID"` }
Config of the app
Click to show internal directories.
Click to hide internal directories.