config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConsulClientConfig = &consulDiscoverClient{

		ServicePort:    10086,
		ServiceHost:    "127.0.0.1",
		ServiceName:    "EdmundService",
		ServiceId:      "",
		Meta:           map[string]string{},
		HealthCheckUrl: "/consul/health",

		ConsulPort: 8500,
		ConsulHost: "127.0.0.1",
		Logger:     log.New(os.Stdout, "", log.LstdFlags),
	}
)

ConsulClientConfig 从命令行中读取相关参数,没有时使用默认值

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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