grpcServerPkg

package
v0.0.0-...-5de8f25 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderServiceServer

type OrderServiceServer struct {
	pb.UnimplementedOrderServiceServer
	// contains filtered or unexported fields
}

func NewOrderServiceServer

func NewOrderServiceServer(producer pulsar.Producer) *OrderServiceServer

NewOrderServiceServer returns a new instace of the OrderServiceServer

func (*OrderServiceServer) SubmitOrder

func (s *OrderServiceServer) SubmitOrder(ctx context.Context, req *pb.OrderRequest) (*pb.OrderResponse, error)

SubmitOrder submits order to the order service

Jump to

Keyboard shortcuts

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