Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Voucher ¶
type Voucher struct { userv1.UnimplementedVoucherServiceServer // contains filtered or unexported fields }
func NewVoucher ¶
func NewVoucher(svc VoucherService) *Voucher
func (*Voucher) Create ¶
func (h *Voucher) Create(ctx context.Context, in *userv1.CreateRequest) (*userv1.CreateResponse, error)
func (*Voucher) GetByUserID ¶
func (h *Voucher) GetByUserID(ctx context.Context, in *userv1.GetByUserIDRequest) (*userv1.GetByUserIDResponse, error)
Click to show internal directories.
Click to hide internal directories.