Documentation ¶
Index ¶
- type CouponsServer
- func (s *CouponsServer) GetCouponByCouponUserId(ctx context.Context, in *coupons.GetCouponByCouponUserIdRequest) (*coupons.GetCouponByCouponUserIdResponse, error)
- func (s *CouponsServer) GetCouponsList(ctx context.Context, in *coupons.GetCouponsListRequest) (*coupons.GetCouponsListResponse, error)
- func (s *CouponsServer) UpdateCouponByCouponUserId(ctx context.Context, in *coupons.UpdateCouponByCouponUserIdRequest) (*coupons.UpdateCouponByCouponUserIdResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CouponsServer ¶
type CouponsServer struct { coupons.UnimplementedCouponsServer // contains filtered or unexported fields }
func NewCouponsServer ¶
func NewCouponsServer(svcCtx *svc.ServiceContext) *CouponsServer
func (*CouponsServer) GetCouponByCouponUserId ¶
func (s *CouponsServer) GetCouponByCouponUserId(ctx context.Context, in *coupons.GetCouponByCouponUserIdRequest) (*coupons.GetCouponByCouponUserIdResponse, error)
func (*CouponsServer) GetCouponsList ¶
func (s *CouponsServer) GetCouponsList(ctx context.Context, in *coupons.GetCouponsListRequest) (*coupons.GetCouponsListResponse, error)
func (*CouponsServer) UpdateCouponByCouponUserId ¶
func (s *CouponsServer) UpdateCouponByCouponUserId(ctx context.Context, in *coupons.UpdateCouponByCouponUserIdRequest) (*coupons.UpdateCouponByCouponUserIdResponse, error)
Click to show internal directories.
Click to hide internal directories.