Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGrpcServer)
ProviderSet is server providers.
Functions ¶
This section is empty.
Types ¶
type GrpcServer ¶
GrpcServer implements a gRPC Server for the Order service
func NewGrpcServer ¶
func NewGrpcServer(service pb.TrxServiceServer, cfg *setting.Config, zapLogger *zap.Logger) (*GrpcServer, error)
NewGrpcServer is a convenience func to create a GrpcServer
func (GrpcServer) Error ¶
func (g GrpcServer) Error() chan error
Error returns the server's error channel
func (GrpcServer) Start ¶
func (g GrpcServer) Start()
Start starts the server in the background, pushing any error to the error channel
Click to show internal directories.
Click to hide internal directories.