member

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 New

func New() (*Service, error)

func (*Service) AddReader

func (s *Service) AddReader(c *gin.Context, req *protos.AddShelfReq, uid int32) (err error)

func (*Service) AddShelf

func (s *Service) AddShelf(c *gin.Context, req *protos.AddShelfReq, uid int32) (err error)

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

func (s *Service) ReaderList(c *gin.Context, req *protos.MemberReq, uid int32) (resp *protos.MemberBookListResp)

func (*Service) ShelfList

func (s *Service) ShelfList(c *gin.Context, req *protos.MemberReq, uid int32) (resp *protos.MemberBookListResp)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL