emissary/internal/config/http.go

14 lines
221 B
Go
Raw Normal View History

2023-02-02 10:55:24 +01:00
package config
type HTTPConfig struct {
Host InterpolatedString `yaml:"host"`
Port uint `yaml:"port"`
}
func NewDefaultHTTPConfig() HTTPConfig {
return HTTPConfig{
Host: "0.0.0.0",
Port: 3000,
}
}