Documentation
¶
Index ¶
Constants ¶
View Source
const (
RegisterTypeConsul = "consul"
)
Variables ¶
This section is empty.
Functions ¶
func NewMicroRegister ¶
Types ¶
type Config ¶
type Config struct {
Type string `yaml:"type" json:"type,omitempty"`
Host string `yaml:"host" json:"host,omitempty"`
Port int `yaml:"port" json:"port,omitempty"`
Token string `yaml:"token" json:"token,omitempty"`
Username string `yaml:"username" json:"username,omitempty"`
Password string `yaml:"password" json:"password,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.