Documentation ¶
Index ¶
- func MakeID(uid int64) string
- type Service
- func (s *Service) AddGift(ctx context.Context, m *model.AddFreeGift) (bagId int64, err error)
- func (s *Service) Close()
- func (s *Service) GetBagID(ctx context.Context, uid, giftID, expireAt int64) (id int64, err error)
- func (s *Service) Ping(ctx context.Context) (err error)
- func (s *Service) SayHello(ctx context.Context, req *pb.HelloReq) (reply *empty.Empty, err error)
- func (s *Service) UpdateFreeGiftCache(ctx context.Context, uid, giftID, expireAt, num int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.