heartbeat

package
v0.0.0-...-32ff608 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeartbeatService

type HeartbeatService struct {
	pb.UnimplementedHeartbeatServiceServer
	// contains filtered or unexported fields
}

func NewHeartbeatServiceServer

func NewHeartbeatServiceServer(consumerMgr consumer.ConsumerManager) (*HeartbeatService, error)

func (*HeartbeatService) Heartbeat

func (h *HeartbeatService) Heartbeat(ctx context.Context, hb *pb.Heartbeat) (*pb.Response, error)

type Processor

type Processor interface {
	Heartbeat(consumerMgr consumer.ConsumerManager, msg *pb.Heartbeat) (*pb.Response, error)
}

Jump to

Keyboard shortcuts

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