grpc

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

func (*Handler) Ack

func (h *Handler) Ack(responseChannel chan *pb.SendEventResponse, reqGuid, connGroup string) collection.AckFunc

func (*Handler) SendEvent

func (h *Handler) SendEvent(ctx context.Context, req *pb.SendEventRequest) (*pb.SendEventResponse, error)

type Service

type Service struct {
	Collector collection.Collector
	// contains filtered or unexported fields
}

func NewGRPCService

func NewGRPCService(c collection.Collector) *Service

func (*Service) Init

func (s *Service) Init(context.Context) error

func (*Service) Name

func (*Service) Name() string

func (*Service) Shutdown

func (s *Service) Shutdown(context.Context) error

Jump to

Keyboard shortcuts

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