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
Click to show internal directories.
Click to hide internal directories.