Documentation ¶
Overview ¶
Package GRPC incorporate GRPC interface of worker allows it to accept new streams and forward messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IndexerServer ¶
type IndexerServer struct { indexer.UnimplementedIndexerServiceServer // contains filtered or unexported fields }
IndexerServer is implemantation of GRPC IndexerServiceServer
func NewIndexerServer ¶
func NewIndexerServer(ctx context.Context, client cStructs.IndexerClienter, logger *zap.Logger) *IndexerServer
NewIndexerServer if IndexerServer constructor
func (*IndexerServer) TaskRPC ¶
func (is *IndexerServer) TaskRPC(taskStream indexer.IndexerService_TaskRPCServer) error
TaskRPC is fullfilment of TaskRPC endpoint from grpc. it receives new stream requests and creates the second stream, afterwards just controls incoming messages
Click to show internal directories.
Click to hide internal directories.