Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "server", Short: "Run the speakerbob server.", Long: `Run the speakerbob server.`, Run: Server, }
View Source
var DefaultConfiguration = Configuration{ LogLevel: "info", Host: "0.0.0.0", Port: 80, DataPath: "/etc/speakerbob/data", DurationLimit: 10 * time.Second, }
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
LogLevel string `yaml:"log_level"`
Host string `yaml:"host"`
Port int `yaml:"port"`
DataPath string `yaml:"data_path"`
DurationLimit time.Duration `yaml:"duration_limit"`
Auth struct {
Github github.Provider `yaml:"github"`
} `yaml:"auth"`
// contains filtered or unexported fields
}
func (Configuration) Providers ¶
func (c Configuration) Providers() []auth.Provider
Click to show internal directories.
Click to hide internal directories.