service_discovery

package
v0.0.0-...-e41513e Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 10

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
y or Y : Canonical URL