server

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterCpServer

type InterCpServer struct {
	// contains filtered or unexported fields
}

func New

func New(
	config intercp.InterCpServerConfig,
	metrics metrics.Metrics,
	certificate tls.Certificate,
	caCert x509.Certificate,
	instanceId string,
) (*InterCpServer, error)

func (*InterCpServer) GrpcServer

func (d *InterCpServer) GrpcServer() *grpc.Server

func (*InterCpServer) NeedLeaderElection

func (d *InterCpServer) NeedLeaderElection() bool

func (*InterCpServer) Ready

func (d *InterCpServer) Ready() bool

func (*InterCpServer) Start

func (d *InterCpServer) Start(stop <-chan struct{}) error

Jump to

Keyboard shortcuts

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