Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGrpcServer ¶
Types ¶
type PixGrpcService ¶
type PixGrpcService struct { PixUseCase usecase.PixUseCase pb.UnimplementedPixServiceServer }
func NewPixGrpcService ¶
func NewPixGrpcService(usecase usecase.PixUseCase) *PixGrpcService
func (*PixGrpcService) Find ¶
func (p *PixGrpcService) Find(ctx context.Context, in *pb.PixKey) (*pb.PixKeyInfo, error)
func (*PixGrpcService) RegisterPixKey ¶
func (p *PixGrpcService) RegisterPixKey(ctx context.Context, in *pb.PixKeyRegistration) (*pb.PixKeyCreatedResult, error)
Click to show internal directories.
Click to hide internal directories.