emissary/internal/config/http.go

14 lines
221 B
Go

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,
}
}