grpcx

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 9 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 {
	*grpc.Server
	Port       int
	EtcdAddrs  []string
	EtcdTTL    int64
	EtcdClient *clientv3.Client

	Name string
	L    logger.Logger
	// contains filtered or unexported fields
}

func (*Server) Close added in v1.0.11

func (s *Server) Close() error

func (*Server) Serve

func (s *Server) Serve() error

Directories

Path Synopsis
balancer
wrr

Jump to

Keyboard shortcuts

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