reviewclient

package
v0.0.0-...-d1a5c07 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MulanPSL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleImg

type ArticleImg = review.ArticleImg

type ArticleInfo

type ArticleInfo = review.ArticleInfo

type ArticleInfoRequest

type ArticleInfoRequest = review.ArticleInfoRequest

type ArticleInfoResponse

type ArticleInfoResponse = review.ArticleInfoResponse

type ArticleListRequest

type ArticleListRequest = review.ArticleListRequest

type ArticleListResponse

type ArticleListResponse = review.ArticleListResponse

type ArticleTouristVolumeUpdateRequest

type ArticleTouristVolumeUpdateRequest = review.ArticleTouristVolumeUpdateRequest

type ArticleTouristVolumeUpdateResponse

type ArticleTouristVolumeUpdateResponse = review.ArticleTouristVolumeUpdateResponse

type CountFavorite

type CountFavorite = review.CountFavorite

type CountFavoriteRequest

type CountFavoriteRequest = review.CountFavoriteRequest

type CountFavoriteResponse

type CountFavoriteResponse = review.CountFavoriteResponse

type CreateFavoriteRequest

type CreateFavoriteRequest = review.CreateFavoriteRequest

type CreateFavoriteResponse

type CreateFavoriteResponse = review.CreateFavoriteResponse

type CreateReviewRequest

type CreateReviewRequest = review.CreateReviewRequest

type CreateReviewResponse

type CreateReviewResponse = review.CreateReviewResponse

type DeleteFavoriteRequest

type DeleteFavoriteRequest = review.DeleteFavoriteRequest

type DeleteFavoriteResponse

type DeleteFavoriteResponse = review.DeleteFavoriteResponse

type FavoriteInfo

type FavoriteInfo = review.FavoriteInfo

type FindFavoriteListRequest

type FindFavoriteListRequest = review.FindFavoriteListRequest

type FindFavoriteListResponse

type FindFavoriteListResponse = review.FindFavoriteListResponse

type FindFavoriteRequest

type FindFavoriteRequest = review.FindFavoriteRequest

type FindFavoriteResponse

type FindFavoriteResponse = review.FindFavoriteResponse

type ListReviewRequest

type ListReviewRequest = review.ListReviewRequest

type ListReviewResponse

type ListReviewResponse = review.ListReviewResponse

type Review

type Review interface {
	// 评论
	CreateReview(ctx context.Context, in *CreateReviewRequest, opts ...grpc.CallOption) (*CreateReviewResponse, error)
	ListReview(ctx context.Context, in *ListReviewRequest, opts ...grpc.CallOption) (*ListReviewResponse, error)
	ReviewInfo(ctx context.Context, in *ReviewInfoRequest, opts ...grpc.CallOption) (*ReviewInfoResponse, error)
	ReviewCount(ctx context.Context, in *ReviewCountRequest, opts ...grpc.CallOption) (*ReviewCountResponse, error)
	// 点赞、收藏
	CreateFavorite(ctx context.Context, in *CreateFavoriteRequest, opts ...grpc.CallOption) (*CreateFavoriteResponse, error)
	UpdateFavorite(ctx context.Context, in *UpdateFavoriteRequest, opts ...grpc.CallOption) (*UpdateFavoriteResponse, error)
	FindFavorite(ctx context.Context, in *FindFavoriteRequest, opts ...grpc.CallOption) (*FindFavoriteResponse, error)
	FindFavoriteList(ctx context.Context, in *FindFavoriteListRequest, opts ...grpc.CallOption) (*FindFavoriteListResponse, error)
	CountFavorite(ctx context.Context, in *CountFavoriteRequest, opts ...grpc.CallOption) (*CountFavoriteResponse, error)
	DeleteFavorite(ctx context.Context, in *DeleteFavoriteRequest, opts ...grpc.CallOption) (*DeleteFavoriteResponse, error)
	// 文章
	ArticleInfo(ctx context.Context, in *ArticleInfoRequest, opts ...grpc.CallOption) (*ArticleInfoResponse, error)
	ArticleList(ctx context.Context, in *ArticleListRequest, opts ...grpc.CallOption) (*ArticleListResponse, error)
	ArticleTouristVolumeUpdate(ctx context.Context, in *ArticleTouristVolumeUpdateRequest, opts ...grpc.CallOption) (*ArticleTouristVolumeUpdateResponse, error)
}

func NewReview

func NewReview(cli zrpc.Client) Review

type ReviewCountRequest

type ReviewCountRequest = review.ReviewCountRequest

type ReviewCountResponse

type ReviewCountResponse = review.ReviewCountResponse

type ReviewInfo

type ReviewInfo = review.ReviewInfo

type ReviewInfoRequest

type ReviewInfoRequest = review.ReviewInfoRequest

type ReviewInfoResponse

type ReviewInfoResponse = review.ReviewInfoResponse

type Reviews

type Reviews = review.Reviews

type UpdateFavoriteRequest

type UpdateFavoriteRequest = review.UpdateFavoriteRequest

type UpdateFavoriteResponse

type UpdateFavoriteResponse = review.UpdateFavoriteResponse

Jump to

Keyboard shortcuts

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