config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InvokeTimeout = 3 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	UserName string
	PassWord string
}

type ConsulCliConf

type ConsulCliConf struct {
	ServiceName string
	Address     string
	Token       string
}

type ConsulSrvConf

type ConsulSrvConf struct {
	ServiceName    string
	ServiceAddress string
	Address        string
	Token          string
}

type EtcdCliConf

type EtcdCliConf struct {
	ServiceName string
	Endpoints   []string
	Auth
}

type EtcdSrvConf

type EtcdSrvConf struct {
	ServiceName    string
	ServiceAddress string
	Endpoints      []string
	Auth
}

Jump to

Keyboard shortcuts

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