Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuildTime string BuildCommit string )
Build time and commit information.
⚠️ WARNING: should only be set by "-ldflags".
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Server contains the server configuration.
Server struct {
ExternalURL string `ini:"EXTERNAL_URL"`
LogsRootDir string
}
// GitHubApp contains the GitHub App configuration.
GitHubApp struct {
AppID int64 `ini:"APP_ID"`
ClientID string `ini:"CLIENT_ID"`
ClientSecret string
PrivateKey string
}
// Codenotify contains the Codenotify configuration.
Codenotify struct {
BinPath string
}
}
Config contains all the configuration.
Click to show internal directories.
Click to hide internal directories.