proxy

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// Address to bind proxy server on in format of <ip>:<port>.
	BindAddress string
	// etcd namespace to provide over the proxy.
	Namespace string

	// EtcdAddresses in format of http://<ip>:<port>.
	EtcdAddresses []string
}

Server provides information about etcd and proxy server.

func NewGRPCServer

func NewGRPCServer(bindAddress, namespace string, etcdAddresses []string) *Server

NewGRPCServer creates new gRPC structure.

func (*Server) StartNonSecureServer

func (s *Server) StartNonSecureServer()

StartNonSecureServer starts non-secure etcd-gRPC proxy.

Jump to

Keyboard shortcuts

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