Documentation ¶
Overview ¶
Configuration. See Config struct for more details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // HTTPAddr is the address to start the HTTP API server HTTPAddr string `default:":5000" split_words:"true" required:"true"` // GHWebhookSecret is a secret key used to sign an HMAC of GitHub webhook requests // GitHub includes this HMAC in requests, we will recompute this HMAC using this key // and ensure that the included HMAC and our HMAC match. GHWebhookSecret string `split_words:"true" required:"true"` }
Config for ops bot.
Values are passed via environment variables.
Environment variables will be prefixed by APP and be in capital underscore case (ex., APP_CAPITAL_UNDERSCORE_CASE).
For example the HTTPAddr field is set by the APP_HTTP_ADDR environment variable.
Click to show internal directories.
Click to hide internal directories.