grpc

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 5 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 interface {
	manager.Runnable
	manager.LeaderElectionRunnable
	// ServiceRegistrar returns the gRPC service registrar of the server.
	ServiceRegistrar() grpc.ServiceRegistrar
}

Server is a leader election runnable gRPC server.

func NewServer

func NewServer(addr string, opts ...grpc.ServerOption) Server

NewServer creates a new Server with the given bind address and gRPC server options.

Jump to

Keyboard shortcuts

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