Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
Types ¶
type Config ¶
type Config struct {
Address string `yaml:"address"`
ServiceExtra ServiceExtra `yaml:"service_extra"`
}
type ServiceExtra ¶
type ServiceExtra struct {
ServiceID string `default:"unknown" yaml:"service_id"`
Name string `default:"unknown" yaml:"name"`
ExposePort int `default:"8000" yaml:"expose_port"`
Address string `yaml:"address"`
Tags []string `yaml:"tags"`
Namespace string `yaml:"namespace" default:"default"`
Probe Probe `yaml:"probe"`
}
Click to show internal directories.
Click to hide internal directories.