Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvoiceGrpc ¶
type InvoiceGrpc struct { pb_v1.UnimplementedInvoiceServiceServer // contains filtered or unexported fields }
func NewInvoiceGrpc ¶
func NewInvoiceGrpc(dbConnPool *pgxpool.Pool, paymentProcessor *processor.PaymentProcessor, log *zerolog.Logger) *InvoiceGrpc
func (*InvoiceGrpc) CreateInvoice ¶
func (i *InvoiceGrpc) CreateInvoice(ctx context.Context, req *pb_v1.CreateInvoiceRequest) (*pb_v1.CreateInvoiceResponse, error)
func (*InvoiceGrpc) InvoiceStatusStream ¶
func (i *InvoiceGrpc) InvoiceStatusStream(req *pb_v1.InvoiceStatusStreamRequest, stream pb_v1.InvoiceService_InvoiceStatusStreamServer) error
type UserGrpc ¶
type UserGrpc struct { pb_v1.UnimplementedUserServiceServer // contains filtered or unexported fields }
func (*UserGrpc) RegisterUser ¶
func (u *UserGrpc) RegisterUser(ctx context.Context, in *pb_v1.RegisterUserRequest) (*pb_v1.RegisterUserResponse, error)
func (*UserGrpc) UpdateCryptoKeys ¶
func (u *UserGrpc) UpdateCryptoKeys(ctx context.Context, in *pb_v1.UpdateCryptoKeysRequest) (*pb_v1.UpdateCryptoKeysResponse, error)
Click to show internal directories.
Click to hide internal directories.