service_discovery

package
Version: v0.0.0-...-6e21e7b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceDiscoveryClientConfig

type ServiceDiscoveryClientConfig struct {
	ServiceName string
	EtcdAddrs   []string
	Balancer    string
}

type ServiceDiscoveryServerConfig

type ServiceDiscoveryServerConfig struct {
	ServiceName string
	NodeID      string
	RPCAddr     string
	EtcdAddrs   []string
	Interval    base.Duration
	TTL         base.Duration
}

Directories

Path Synopsis
examples
proto
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL