Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ExternalURL string `env:"EXTERNAL_URL"` TLSCertPath string `env:"TLS_CERT_PATH"` TLSKeyPath string `env:"TLS_KEY_PATH"` // for Let's Encrypt autocert TLSDomain string `env:"TLS_DOMAIN"` SSH RunnelConfig `env:"SSH"` SQLitePath string `env:"SQLITE_PATH"` BlobsBucket string `env:"BLOBS_BUCKET"` GitHubApp GithubAppConfig `env:"GITHUB_APP"` Prof struct { Port int `env:"PORT"` FilePath string `env:"FILE_PATH"` } `env:"CPU_PROF"` }
type GithubAppConfig ¶
type GithubAppConfig struct { ID int64 `env:"ID"` PrivateKeyPath string `env:"PRIVATE_KEY_PATH"` PrivateKeyContent string `env:"PRIVATE_KEY"` WebhookSecret string `env:"WEBHOOK_SECRET"` }
func (GithubAppConfig) PrivateKey ¶
func (config GithubAppConfig) PrivateKey() ([]byte, error)
type RunnelConfig ¶
Click to show internal directories.
Click to hide internal directories.