grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, name string, ch chan interface{}) error

Start starts gRPC server

Types

type Config

type Config struct {
	Addr             string
	NumStreamWorkers uint32
	TLSConfig        *config.TLSConfig
}

Config represents kafka consumer configuration

type Server

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

Server represents gRPC server

func (*Server) Tracepoint

func (s *Server) Tracepoint(srv pb.TCPDog_TracepointServer) error

Tracepoint receives protobuf messages

func (*Server) TracepointSPB

func (s *Server) TracepointSPB(srv pb.TCPDog_TracepointSPBServer) error

TracepointSPB receives struct protobuf messages

Jump to

Keyboard shortcuts

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