Documentation
¶
Index ¶
- type Service
- func (s *Service) AddReader(c *gin.Context, req *protos.AddShelfReq, uid int32) (err error)
- func (s *Service) AddShelf(c *gin.Context, req *protos.AddShelfReq, uid int32) (err error)
- func (s *Service) FeedBack(c *gin.Context, req *protos.FeedBackReq, uid int32, name string) (err error)
- func (s *Service) GetFeedBack(c *gin.Context, req *protos.GetFeedBackReq, uid int32) (resp *protos.GetFeedBackResp, err error)
- func (s *Service) ReaderList(c *gin.Context, req *protos.MemberReq, uid int32) (resp *protos.MemberBookListResp)
- func (s *Service) ShelfList(c *gin.Context, req *protos.MemberReq, uid int32) (resp *protos.MemberBookListResp)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { LocalCache *gocache.Cache Dao *db.StoreDbClient RedisCache *trace_redis.RedisInstance }
func (*Service) FeedBack ¶
func (s *Service) FeedBack(c *gin.Context, req *protos.FeedBackReq, uid int32, name string) (err error)
FeedBack
func (*Service) GetFeedBack ¶
func (s *Service) GetFeedBack(c *gin.Context, req *protos.GetFeedBackReq, uid int32) (resp *protos.GetFeedBackResp, err error)
GetFeedBack
func (*Service) ReaderList ¶
Click to show internal directories.
Click to hide internal directories.