This repository has been archived on 2019-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
migrator/config/config.go
2018-12-17 12:47:47 +01:00

14 lines
342 B
Go

package config
// Config holds all configurations needed for web interface
var Config = struct {
GitHub struct {
ClientID string `required:"true" yaml:"client_id"`
ClientSecret string `required:"true" yaml:"client_secret"`
} `yaml:"GitHub"`
Web struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
} `yaml:"Web"`
}{}