Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { WebhookSecret string `env:"WEBHOOK_SECRET"` AppID int64 `env:"APP_ID"` ManifestRepo string `env:"MANIFEST_REPO"` Port int `env:"PORT"` PrivateKey PrivateKey }
Config represents a config to load from file
func ReadConfig ¶
ReadConfig reads config from env, json and yaml
type PrivateKey ¶
PrivateKey represents a private key
Click to show internal directories.
Click to hide internal directories.