Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGrpcServer ¶
StartGrpcServer - start the grpc server
Types ¶
type PixGrpcService ¶
type PixGrpcService struct { PixUseCase usecase.PixUseCase pb.UnimplementedPixServiceServer }
PixGrpcService - Pix gRPC service structure
func NewPixGrpcService ¶
func NewPixGrpcService(usecase usecase.PixUseCase) *PixGrpcService
NewPixGrpcService - new pix grpc service
func (*PixGrpcService) Find ¶
func (p *PixGrpcService) Find(ctx context.Context, in *pb.PixKey) (*pb.PixKeyInfo, error)
Find - Find a pix key
func (*PixGrpcService) RegisterPixKey ¶
func (p *PixGrpcService) RegisterPixKey(ctx context.Context, in *pb.PixKeyRegistration) (*pb.PixKeyCreatedResult, error)
RegisterPixKey - register a new pix key
Click to show internal directories.
Click to hide internal directories.