Documentation
¶
Index ¶
- type ContentServerImpl
- func (s *ContentServerImpl) AddFileToPublicSpace(ctx context.Context, req *content.AddFileToPublicSpaceReq) (*content.AddFileToPublicSpaceResp, error)
- func (s *ContentServerImpl) CheckShareFile(ctx context.Context, req *content.CheckShareFileReq) (res *content.CheckShareFileResp, err error)
- func (s *ContentServerImpl) CompletelyRemoveFile(ctx context.Context, req *content.CompletelyRemoveFileReq) (res *content.CompletelyRemoveFileResp, err error)
- func (s *ContentServerImpl) CreateCoupon(ctx context.Context, req *content.CreateCouponReq) (res *content.CreateCouponResp, err error)
- func (s *ContentServerImpl) CreateFeedBack(ctx context.Context, req *content.CreateFeedBackReq) (res *content.CreateFeedBackResp, err error)
- func (s *ContentServerImpl) CreateFile(ctx context.Context, req *content.CreateFileReq) (*content.CreateFileResp, error)
- func (s *ContentServerImpl) CreateItem(ctx context.Context, req *content.CreateItemReq) (res *content.CreateItemResp, err error)
- func (s *ContentServerImpl) CreateOrder(ctx context.Context, req *content.CreateOrderReq) (res *content.CreateOrderResp, err error)
- func (s *ContentServerImpl) CreatePost(ctx context.Context, req *content.CreatePostReq) (res *content.CreatePostResp, err error)
- func (s *ContentServerImpl) CreateProduct(ctx context.Context, req *content.CreateProductReq) (res *content.CreateProductResp, err error)
- func (s *ContentServerImpl) CreateShareCode(ctx context.Context, req *content.CreateShareCodeReq) (*content.CreateShareCodeResp, error)
- func (s *ContentServerImpl) CreateUser(ctx context.Context, req *content.CreateUserReq) (resp *content.CreateUserResp, err error)
- func (s *ContentServerImpl) CreateZone(ctx context.Context, req *content.CreateZoneReq) (*content.CreateZoneResp, error)
- func (s *ContentServerImpl) DeleteCoupon(ctx context.Context, req *content.DeleteCouponReq) (res *content.DeleteCouponResp, err error)
- func (s *ContentServerImpl) DeleteFile(ctx context.Context, req *content.DeleteFileReq) (res *content.DeleteFileResp, err error)
- func (s *ContentServerImpl) DeleteItem(ctx context.Context, req *content.DeleteItemReq) (res *content.DeleteItemResp, err error)
- func (s *ContentServerImpl) DeleteOrder(ctx context.Context, req *content.DeleteOrderReq) (res *content.DeleteOrderResp, err error)
- func (s *ContentServerImpl) DeletePost(ctx context.Context, req *content.DeletePostReq) (res *content.DeletePostResp, err error)
- func (s *ContentServerImpl) DeleteProduct(ctx context.Context, req *content.DeleteProductReq) (res *content.DeleteProductResp, err error)
- func (s *ContentServerImpl) DeleteShareCode(ctx context.Context, req *content.DeleteShareCodeReq) (*content.DeleteShareCodeResp, error)
- func (s *ContentServerImpl) DeleteUser(ctx context.Context, req *content.DeleteUserReq) (resp *content.DeleteUserResp, err error)
- func (s *ContentServerImpl) DeleteZone(ctx context.Context, req *content.DeleteZoneReq) (*content.DeleteZoneResp, error)
- func (s *ContentServerImpl) GetCoupon(ctx context.Context, req *content.GetCouponReq) (res *content.GetCouponResp, err error)
- func (s *ContentServerImpl) GetCoupons(ctx context.Context, req *content.GetCouponsReq) (res *content.GetCouponsResp, err error)
- func (s *ContentServerImpl) GetFile(ctx context.Context, req *content.GetFileReq) (*content.GetFileResp, error)
- func (s *ContentServerImpl) GetFileBySharingCode(ctx context.Context, req *content.GetFileBySharingCodeReq) (*content.GetFileBySharingCodeResp, error)
- func (s *ContentServerImpl) GetFileIsExist(ctx context.Context, req *content.GetFileIsExistReq) (*content.GetFileIsExistResp, error)
- func (s *ContentServerImpl) GetFileList(ctx context.Context, req *content.GetFileListReq) (*content.GetFileListResp, error)
- func (s *ContentServerImpl) GetFilesByIds(ctx context.Context, req *content.GetFilesByIdsReq) (res *content.GetFilesByIdsResp, err error)
- func (s *ContentServerImpl) GetLatestRecommend(ctx context.Context, req *content.GetLatestRecommendReq) (res *content.GetLatestRecommendResp, err error)
- func (s *ContentServerImpl) GetOrder(ctx context.Context, req *content.GetOrderReq) (res *content.GetOrderResp, err error)
- func (s *ContentServerImpl) GetOrders(ctx context.Context, req *content.GetOrdersReq) (res *content.GetOrdersResp, err error)
- func (s *ContentServerImpl) GetPopularRecommend(ctx context.Context, req *content.GetPopularRecommendReq) (res *content.GetPopularRecommendResp, err error)
- func (s *ContentServerImpl) GetPost(ctx context.Context, req *content.GetPostReq) (res *content.GetPostResp, err error)
- func (s *ContentServerImpl) GetPosts(ctx context.Context, req *content.GetPostsReq) (res *content.GetPostsResp, err error)
- func (s *ContentServerImpl) GetPostsByPostIds(ctx context.Context, req *content.GetPostsByPostIdsReq) (res *content.GetPostsByPostIdsResp, err error)
- func (s *ContentServerImpl) GetProduct(ctx context.Context, req *content.GetProductReq) (res *content.GetProductResp, err error)
- func (s *ContentServerImpl) GetProducts(ctx context.Context, req *content.GetProductsReq) (res *content.GetProductsResp, err error)
- func (s *ContentServerImpl) GetRecommendByItem(ctx context.Context, req *content.GetRecommendByItemReq) (res *content.GetRecommendByItemResp, err error)
- func (s *ContentServerImpl) GetRecommendByUser(ctx context.Context, req *content.GetRecommendByUserReq) (res *content.GetRecommendByUserResp, err error)
- func (s *ContentServerImpl) GetRecycleBinFiles(ctx context.Context, req *content.GetRecycleBinFilesReq) (res *content.GetRecycleBinFilesResp, err error)
- func (s *ContentServerImpl) GetShareList(ctx context.Context, req *content.GetShareListReq) (*content.GetShareListResp, error)
- func (s *ContentServerImpl) GetUser(ctx context.Context, req *content.GetUserReq) (resp *content.GetUserResp, err error)
- func (s *ContentServerImpl) GetUsers(ctx context.Context, req *content.GetUsersReq) (resp *content.GetUsersResp, err error)
- func (s *ContentServerImpl) GetUsersByUserIds(ctx context.Context, req *content.GetUsersByUserIdsReq) (res *content.GetUsersByUserIdsResp, err error)
- func (s *ContentServerImpl) GetZone(ctx context.Context, req *content.GetZoneReq) (res *content.GetZoneResp, err error)
- func (s *ContentServerImpl) GetZones(ctx context.Context, req *content.GetZonesReq) (res *content.GetZonesResp, err error)
- func (s *ContentServerImpl) MoveFile(ctx context.Context, req *content.MoveFileReq) (*content.MoveFileResp, error)
- func (s *ContentServerImpl) ParsingShareCode(ctx context.Context, req *content.ParsingShareCodeReq) (*content.ParsingShareCodeResp, error)
- func (s *ContentServerImpl) RecoverRecycleBinFile(ctx context.Context, req *content.RecoverRecycleBinFileReq) (*content.RecoverRecycleBinFileResp, error)
- func (s *ContentServerImpl) SaveFileToPrivateSpace(ctx context.Context, req *content.SaveFileToPrivateSpaceReq) (res *content.SaveFileToPrivateSpaceResp, err error)
- func (s *ContentServerImpl) UpdateCoupon(ctx context.Context, req *content.UpdateCouponReq) (res *content.UpdateCouponResp, err error)
- func (s *ContentServerImpl) UpdateFile(ctx context.Context, req *content.UpdateFileReq) (*content.UpdateFileResp, error)
- func (s *ContentServerImpl) UpdateItem(ctx context.Context, req *content.UpdateItemReq) (res *content.UpdateItemResp, err error)
- func (s *ContentServerImpl) UpdateOrder(ctx context.Context, req *content.UpdateOrderReq) (res *content.UpdateOrderResp, err error)
- func (s *ContentServerImpl) UpdatePost(ctx context.Context, req *content.UpdatePostReq) (res *content.UpdatePostResp, err error)
- func (s *ContentServerImpl) UpdateProduct(ctx context.Context, req *content.UpdateProductReq) (res *content.UpdateProductResp, err error)
- func (s *ContentServerImpl) UpdateShareCode(ctx context.Context, req *content.UpdateShareCodeReq) (*content.UpdateShareCodeResp, error)
- func (s *ContentServerImpl) UpdateUser(ctx context.Context, req *content.UpdateUserReq) (resp *content.UpdateUserResp, err error)
- func (s *ContentServerImpl) UpdateZone(ctx context.Context, req *content.UpdateZoneReq) (*content.UpdateZoneResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentServerImpl ¶
type ContentServerImpl struct { *config.Config FileService service.IFileService PostService service.IPostService ZoneService service.IZoneService UserService service.IUserService ProductService service.IProductService CouponService service.ICouponService OrderService service.IOrderService RecommendService service.IRecommendService }
func (*ContentServerImpl) AddFileToPublicSpace ¶
func (s *ContentServerImpl) AddFileToPublicSpace(ctx context.Context, req *content.AddFileToPublicSpaceReq) (*content.AddFileToPublicSpaceResp, error)
func (*ContentServerImpl) CheckShareFile ¶ added in v1.0.53
func (s *ContentServerImpl) CheckShareFile(ctx context.Context, req *content.CheckShareFileReq) (res *content.CheckShareFileResp, err error)
func (*ContentServerImpl) CompletelyRemoveFile ¶
func (s *ContentServerImpl) CompletelyRemoveFile(ctx context.Context, req *content.CompletelyRemoveFileReq) (res *content.CompletelyRemoveFileResp, err error)
func (*ContentServerImpl) CreateCoupon ¶
func (s *ContentServerImpl) CreateCoupon(ctx context.Context, req *content.CreateCouponReq) (res *content.CreateCouponResp, err error)
func (*ContentServerImpl) CreateFeedBack ¶ added in v1.0.53
func (s *ContentServerImpl) CreateFeedBack(ctx context.Context, req *content.CreateFeedBackReq) (res *content.CreateFeedBackResp, err error)
func (*ContentServerImpl) CreateFile ¶
func (s *ContentServerImpl) CreateFile(ctx context.Context, req *content.CreateFileReq) (*content.CreateFileResp, error)
func (*ContentServerImpl) CreateItem ¶ added in v1.0.53
func (s *ContentServerImpl) CreateItem(ctx context.Context, req *content.CreateItemReq) (res *content.CreateItemResp, err error)
func (*ContentServerImpl) CreateOrder ¶
func (s *ContentServerImpl) CreateOrder(ctx context.Context, req *content.CreateOrderReq) (res *content.CreateOrderResp, err error)
func (*ContentServerImpl) CreatePost ¶
func (s *ContentServerImpl) CreatePost(ctx context.Context, req *content.CreatePostReq) (res *content.CreatePostResp, err error)
func (*ContentServerImpl) CreateProduct ¶
func (s *ContentServerImpl) CreateProduct(ctx context.Context, req *content.CreateProductReq) (res *content.CreateProductResp, err error)
func (*ContentServerImpl) CreateShareCode ¶
func (s *ContentServerImpl) CreateShareCode(ctx context.Context, req *content.CreateShareCodeReq) (*content.CreateShareCodeResp, error)
func (*ContentServerImpl) CreateUser ¶
func (s *ContentServerImpl) CreateUser(ctx context.Context, req *content.CreateUserReq) (resp *content.CreateUserResp, err error)
func (*ContentServerImpl) CreateZone ¶
func (s *ContentServerImpl) CreateZone(ctx context.Context, req *content.CreateZoneReq) (*content.CreateZoneResp, error)
func (*ContentServerImpl) DeleteCoupon ¶
func (s *ContentServerImpl) DeleteCoupon(ctx context.Context, req *content.DeleteCouponReq) (res *content.DeleteCouponResp, err error)
func (*ContentServerImpl) DeleteFile ¶
func (s *ContentServerImpl) DeleteFile(ctx context.Context, req *content.DeleteFileReq) (res *content.DeleteFileResp, err error)
func (*ContentServerImpl) DeleteItem ¶
func (s *ContentServerImpl) DeleteItem(ctx context.Context, req *content.DeleteItemReq) (res *content.DeleteItemResp, err error)
func (*ContentServerImpl) DeleteOrder ¶
func (s *ContentServerImpl) DeleteOrder(ctx context.Context, req *content.DeleteOrderReq) (res *content.DeleteOrderResp, err error)
func (*ContentServerImpl) DeletePost ¶
func (s *ContentServerImpl) DeletePost(ctx context.Context, req *content.DeletePostReq) (res *content.DeletePostResp, err error)
func (*ContentServerImpl) DeleteProduct ¶
func (s *ContentServerImpl) DeleteProduct(ctx context.Context, req *content.DeleteProductReq) (res *content.DeleteProductResp, err error)
func (*ContentServerImpl) DeleteShareCode ¶
func (s *ContentServerImpl) DeleteShareCode(ctx context.Context, req *content.DeleteShareCodeReq) (*content.DeleteShareCodeResp, error)
func (*ContentServerImpl) DeleteUser ¶
func (s *ContentServerImpl) DeleteUser(ctx context.Context, req *content.DeleteUserReq) (resp *content.DeleteUserResp, err error)
func (*ContentServerImpl) DeleteZone ¶
func (s *ContentServerImpl) DeleteZone(ctx context.Context, req *content.DeleteZoneReq) (*content.DeleteZoneResp, error)
func (*ContentServerImpl) GetCoupon ¶
func (s *ContentServerImpl) GetCoupon(ctx context.Context, req *content.GetCouponReq) (res *content.GetCouponResp, err error)
func (*ContentServerImpl) GetCoupons ¶
func (s *ContentServerImpl) GetCoupons(ctx context.Context, req *content.GetCouponsReq) (res *content.GetCouponsResp, err error)
func (*ContentServerImpl) GetFile ¶
func (s *ContentServerImpl) GetFile(ctx context.Context, req *content.GetFileReq) (*content.GetFileResp, error)
func (*ContentServerImpl) GetFileBySharingCode ¶
func (s *ContentServerImpl) GetFileBySharingCode(ctx context.Context, req *content.GetFileBySharingCodeReq) (*content.GetFileBySharingCodeResp, error)
func (*ContentServerImpl) GetFileIsExist ¶
func (s *ContentServerImpl) GetFileIsExist(ctx context.Context, req *content.GetFileIsExistReq) (*content.GetFileIsExistResp, error)
func (*ContentServerImpl) GetFileList ¶
func (s *ContentServerImpl) GetFileList(ctx context.Context, req *content.GetFileListReq) (*content.GetFileListResp, error)
func (*ContentServerImpl) GetFilesByIds ¶
func (s *ContentServerImpl) GetFilesByIds(ctx context.Context, req *content.GetFilesByIdsReq) (res *content.GetFilesByIdsResp, err error)
func (*ContentServerImpl) GetLatestRecommend ¶
func (s *ContentServerImpl) GetLatestRecommend(ctx context.Context, req *content.GetLatestRecommendReq) (res *content.GetLatestRecommendResp, err error)
func (*ContentServerImpl) GetOrder ¶
func (s *ContentServerImpl) GetOrder(ctx context.Context, req *content.GetOrderReq) (res *content.GetOrderResp, err error)
func (*ContentServerImpl) GetOrders ¶
func (s *ContentServerImpl) GetOrders(ctx context.Context, req *content.GetOrdersReq) (res *content.GetOrdersResp, err error)
func (*ContentServerImpl) GetPopularRecommend ¶
func (s *ContentServerImpl) GetPopularRecommend(ctx context.Context, req *content.GetPopularRecommendReq) (res *content.GetPopularRecommendResp, err error)
func (*ContentServerImpl) GetPost ¶
func (s *ContentServerImpl) GetPost(ctx context.Context, req *content.GetPostReq) (res *content.GetPostResp, err error)
func (*ContentServerImpl) GetPosts ¶
func (s *ContentServerImpl) GetPosts(ctx context.Context, req *content.GetPostsReq) (res *content.GetPostsResp, err error)
func (*ContentServerImpl) GetPostsByPostIds ¶ added in v1.0.53
func (s *ContentServerImpl) GetPostsByPostIds(ctx context.Context, req *content.GetPostsByPostIdsReq) (res *content.GetPostsByPostIdsResp, err error)
func (*ContentServerImpl) GetProduct ¶
func (s *ContentServerImpl) GetProduct(ctx context.Context, req *content.GetProductReq) (res *content.GetProductResp, err error)
func (*ContentServerImpl) GetProducts ¶
func (s *ContentServerImpl) GetProducts(ctx context.Context, req *content.GetProductsReq) (res *content.GetProductsResp, err error)
func (*ContentServerImpl) GetRecommendByItem ¶
func (s *ContentServerImpl) GetRecommendByItem(ctx context.Context, req *content.GetRecommendByItemReq) (res *content.GetRecommendByItemResp, err error)
func (*ContentServerImpl) GetRecommendByUser ¶
func (s *ContentServerImpl) GetRecommendByUser(ctx context.Context, req *content.GetRecommendByUserReq) (res *content.GetRecommendByUserResp, err error)
func (*ContentServerImpl) GetRecycleBinFiles ¶
func (s *ContentServerImpl) GetRecycleBinFiles(ctx context.Context, req *content.GetRecycleBinFilesReq) (res *content.GetRecycleBinFilesResp, err error)
func (*ContentServerImpl) GetShareList ¶
func (s *ContentServerImpl) GetShareList(ctx context.Context, req *content.GetShareListReq) (*content.GetShareListResp, error)
func (*ContentServerImpl) GetUser ¶
func (s *ContentServerImpl) GetUser(ctx context.Context, req *content.GetUserReq) (resp *content.GetUserResp, err error)
func (*ContentServerImpl) GetUsers ¶
func (s *ContentServerImpl) GetUsers(ctx context.Context, req *content.GetUsersReq) (resp *content.GetUsersResp, err error)
func (*ContentServerImpl) GetUsersByUserIds ¶ added in v1.0.53
func (s *ContentServerImpl) GetUsersByUserIds(ctx context.Context, req *content.GetUsersByUserIdsReq) (res *content.GetUsersByUserIdsResp, err error)
func (*ContentServerImpl) GetZone ¶
func (s *ContentServerImpl) GetZone(ctx context.Context, req *content.GetZoneReq) (res *content.GetZoneResp, err error)
func (*ContentServerImpl) GetZones ¶
func (s *ContentServerImpl) GetZones(ctx context.Context, req *content.GetZonesReq) (res *content.GetZonesResp, err error)
func (*ContentServerImpl) MoveFile ¶
func (s *ContentServerImpl) MoveFile(ctx context.Context, req *content.MoveFileReq) (*content.MoveFileResp, error)
func (*ContentServerImpl) ParsingShareCode ¶
func (s *ContentServerImpl) ParsingShareCode(ctx context.Context, req *content.ParsingShareCodeReq) (*content.ParsingShareCodeResp, error)
func (*ContentServerImpl) RecoverRecycleBinFile ¶
func (s *ContentServerImpl) RecoverRecycleBinFile(ctx context.Context, req *content.RecoverRecycleBinFileReq) (*content.RecoverRecycleBinFileResp, error)
func (*ContentServerImpl) SaveFileToPrivateSpace ¶
func (s *ContentServerImpl) SaveFileToPrivateSpace(ctx context.Context, req *content.SaveFileToPrivateSpaceReq) (res *content.SaveFileToPrivateSpaceResp, err error)
func (*ContentServerImpl) UpdateCoupon ¶
func (s *ContentServerImpl) UpdateCoupon(ctx context.Context, req *content.UpdateCouponReq) (res *content.UpdateCouponResp, err error)
func (*ContentServerImpl) UpdateFile ¶
func (s *ContentServerImpl) UpdateFile(ctx context.Context, req *content.UpdateFileReq) (*content.UpdateFileResp, error)
func (*ContentServerImpl) UpdateItem ¶
func (s *ContentServerImpl) UpdateItem(ctx context.Context, req *content.UpdateItemReq) (res *content.UpdateItemResp, err error)
func (*ContentServerImpl) UpdateOrder ¶
func (s *ContentServerImpl) UpdateOrder(ctx context.Context, req *content.UpdateOrderReq) (res *content.UpdateOrderResp, err error)
func (*ContentServerImpl) UpdatePost ¶
func (s *ContentServerImpl) UpdatePost(ctx context.Context, req *content.UpdatePostReq) (res *content.UpdatePostResp, err error)
func (*ContentServerImpl) UpdateProduct ¶
func (s *ContentServerImpl) UpdateProduct(ctx context.Context, req *content.UpdateProductReq) (res *content.UpdateProductResp, err error)
func (*ContentServerImpl) UpdateShareCode ¶
func (s *ContentServerImpl) UpdateShareCode(ctx context.Context, req *content.UpdateShareCodeReq) (*content.UpdateShareCodeResp, error)
func (*ContentServerImpl) UpdateUser ¶
func (s *ContentServerImpl) UpdateUser(ctx context.Context, req *content.UpdateUserReq) (resp *content.UpdateUserResp, err error)
func (*ContentServerImpl) UpdateZone ¶
func (s *ContentServerImpl) UpdateZone(ctx context.Context, req *content.UpdateZoneReq) (*content.UpdateZoneResp, error)
Click to show internal directories.
Click to hide internal directories.