Documentation ¶
Index ¶
- Variables
- type FileDomainService
- func (s *FileDomainService) LoadAuthor(ctx context.Context, file *core_api.PublicFile, userId string)
- func (s *FileDomainService) LoadCollectCount(ctx context.Context, file *core_api.PublicFile)
- func (s *FileDomainService) LoadCollected(ctx context.Context, file *core_api.PublicFile, userId string)
- func (s *FileDomainService) LoadLikeCount(ctx context.Context, file *core_api.PublicFile)
- func (s *FileDomainService) LoadLiked(ctx context.Context, file *core_api.PublicFile, userId string)
- func (s *FileDomainService) LoadViewCount(ctx context.Context, file *core_api.PublicFile)
- type IFileDomainService
- type IPostDomainService
- type IProductDomainService
- type ITradeDomainService
- type PostDomainService
- func (s *PostDomainService) LoadAuthor(ctx context.Context, user *core_api.User, userId string)
- func (s *PostDomainService) LoadCollectCount(ctx context.Context, collectCount *int64, postId string)
- func (s *PostDomainService) LoadCollected(ctx context.Context, collected *bool, userId, postId string)
- func (s *PostDomainService) LoadLikeCount(ctx context.Context, likeCount *int64, postId string)
- func (s *PostDomainService) LoadLiked(ctx context.Context, liked *bool, userId, postId string)
- func (s *PostDomainService) LoadViewCount(ctx context.Context, viewCount *int64, postId string)
- type ProductDomainService
- func (s *ProductDomainService) LoadAuthor(ctx context.Context, user *core_api.User, userId string)
- func (s *ProductDomainService) LoadCollectCount(ctx context.Context, collectCount *int64, productId string)
- func (s *ProductDomainService) LoadCollected(ctx context.Context, collected *bool, userId, productId string)
- func (s *ProductDomainService) LoadLikeCount(ctx context.Context, likeCount *int64, productId string)
- func (s *ProductDomainService) LoadLiked(ctx context.Context, liked *bool, userId, productId string)
- func (s *ProductDomainService) LoadPurchaseCount(ctx context.Context, purchaseCount *int64, productId string)
- func (s *ProductDomainService) LoadStock(ctx context.Context, stock *int64, productId string)
- func (s *ProductDomainService) LoadViewCount(ctx context.Context, viewCount *int64, productId string)
- type TradeDomainService
Constants ¶
This section is empty.
Variables ¶
View Source
var FileDomainServiceSet = wire.NewSet( wire.Struct(new(FileDomainService), "*"), wire.Bind(new(IFileDomainService), new(*FileDomainService)), )
View Source
var PostDomainServiceSet = wire.NewSet( wire.Struct(new(PostDomainService), "*"), wire.Bind(new(IPostDomainService), new(*PostDomainService)), )
View Source
var ProductDomainServiceSet = wire.NewSet( wire.Struct(new(ProductDomainService), "*"), wire.Bind(new(IProductDomainService), new(*ProductDomainService)), )
View Source
var TradeDomainServiceSet = wire.NewSet( wire.Struct(new(TradeDomainService), "*"), wire.Bind(new(ITradeDomainService), new(*ITradeDomainService)), )
Functions ¶
This section is empty.
Types ¶
type FileDomainService ¶
type FileDomainService struct { CloudMindUser cloudmind_content.ICloudMindContent PlatformRelation platform_relation.IPlatFormRelation }
func (*FileDomainService) LoadAuthor ¶
func (s *FileDomainService) LoadAuthor(ctx context.Context, file *core_api.PublicFile, userId string)
func (*FileDomainService) LoadCollectCount ¶
func (s *FileDomainService) LoadCollectCount(ctx context.Context, file *core_api.PublicFile)
func (*FileDomainService) LoadCollected ¶
func (s *FileDomainService) LoadCollected(ctx context.Context, file *core_api.PublicFile, userId string)
func (*FileDomainService) LoadLikeCount ¶
func (s *FileDomainService) LoadLikeCount(ctx context.Context, file *core_api.PublicFile)
func (*FileDomainService) LoadLiked ¶
func (s *FileDomainService) LoadLiked(ctx context.Context, file *core_api.PublicFile, userId string)
func (*FileDomainService) LoadViewCount ¶
func (s *FileDomainService) LoadViewCount(ctx context.Context, file *core_api.PublicFile)
type IFileDomainService ¶
type IFileDomainService interface { LoadAuthor(ctx context.Context, file *core_api.PublicFile, userId string) LoadLikeCount(ctx context.Context, file *core_api.PublicFile) LoadViewCount(ctx context.Context, file *core_api.PublicFile) LoadLiked(ctx context.Context, file *core_api.PublicFile, userId string) LoadCollectCount(ctx context.Context, file *core_api.PublicFile) LoadCollected(ctx context.Context, file *core_api.PublicFile, userId string) }
type IPostDomainService ¶
type IPostDomainService interface { LoadAuthor(ctx context.Context, user *core_api.User, userId string) LoadLikeCount(ctx context.Context, likeCount *int64, postId string) LoadViewCount(ctx context.Context, viewCount *int64, postId string) LoadCollectCount(ctx context.Context, collectCount *int64, postId string) LoadLiked(ctx context.Context, liked *bool, userId, postId string) LoadCollected(ctx context.Context, collected *bool, userId, postId string) }
type IProductDomainService ¶
type IProductDomainService interface { LoadAuthor(ctx context.Context, user *core_api.User, userId string) LoadLikeCount(ctx context.Context, likeCount *int64, productId string) LoadViewCount(ctx context.Context, viewCount *int64, productId string) LoadCollectCount(ctx context.Context, collectCount *int64, productId string) LoadLiked(ctx context.Context, liked *bool, userId, productId string) LoadCollected(ctx context.Context, collected *bool, userId, productId string) LoadPurchaseCount(ctx context.Context, purchaseCount *int64, productId string) LoadStock(ctx context.Context, stock *int64, productId string) }
type ITradeDomainService ¶
type ITradeDomainService interface { }
type PostDomainService ¶
type PostDomainService struct { CloudMindUser cloudmind_content.ICloudMindContent PlatformRelation platform_relation.IPlatFormRelation }
func (*PostDomainService) LoadAuthor ¶
func (*PostDomainService) LoadCollectCount ¶
func (s *PostDomainService) LoadCollectCount(ctx context.Context, collectCount *int64, postId string)
func (*PostDomainService) LoadCollected ¶
func (s *PostDomainService) LoadCollected(ctx context.Context, collected *bool, userId, postId string)
func (*PostDomainService) LoadLikeCount ¶
func (s *PostDomainService) LoadLikeCount(ctx context.Context, likeCount *int64, postId string)
func (*PostDomainService) LoadLiked ¶
func (s *PostDomainService) LoadLiked(ctx context.Context, liked *bool, userId, postId string)
func (*PostDomainService) LoadViewCount ¶
func (s *PostDomainService) LoadViewCount(ctx context.Context, viewCount *int64, postId string)
type ProductDomainService ¶
type ProductDomainService struct { CloudMindUser cloudmind_content.ICloudMindContent PlatformRelation platform_relation.IPlatFormRelation CloudMindTrade cloudmind_trade.ICloudMindTrade }
func (*ProductDomainService) LoadAuthor ¶
func (*ProductDomainService) LoadCollectCount ¶
func (s *ProductDomainService) LoadCollectCount(ctx context.Context, collectCount *int64, productId string)
func (*ProductDomainService) LoadCollected ¶
func (s *ProductDomainService) LoadCollected(ctx context.Context, collected *bool, userId, productId string)
func (*ProductDomainService) LoadLikeCount ¶
func (s *ProductDomainService) LoadLikeCount(ctx context.Context, likeCount *int64, productId string)
func (*ProductDomainService) LoadLiked ¶
func (s *ProductDomainService) LoadLiked(ctx context.Context, liked *bool, userId, productId string)
func (*ProductDomainService) LoadPurchaseCount ¶
func (s *ProductDomainService) LoadPurchaseCount(ctx context.Context, purchaseCount *int64, productId string)
func (*ProductDomainService) LoadStock ¶
func (s *ProductDomainService) LoadStock(ctx context.Context, stock *int64, productId string)
func (*ProductDomainService) LoadViewCount ¶
func (s *ProductDomainService) LoadViewCount(ctx context.Context, viewCount *int64, productId string)
type TradeDomainService ¶
type TradeDomainService struct { }
Click to show internal directories.
Click to hide internal directories.