config

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Setting = &RegistrySetting{
	Enabled:            false,
	EnableAutoRegister: false,
	InstanceId:         uuid.NewString(),
}

Functions

This section is empty.

Types

type RegistrySetting

type RegistrySetting struct {
	Enabled            bool
	EnableAutoRegister bool   `json:"enableAutoRegister" yaml:"enabledAutoRegister"`
	ServiceName        string `json:"serviceName" yaml:"serviceName"`
	InstanceId         string `json:"instanceId" yaml:"instanceId"`
	PreferIP           string `json:"perferIp" yaml:"preferIp"`
	Port               int
	Eureka             *EurekaConfig.EurekaSetting
	Consul             *ConsulConfig.ConsulSetting
	Nacos              *NacosConfig.NacosSetting
	Dubbo              *DubboConfig.DubboSetting
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL