server

package
v0.0.0-...-b32e05d Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-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 ArticleRpcServer

type ArticleRpcServer struct {
	articlerpc.UnimplementedArticleRpcServer
	// contains filtered or unexported fields
}

func NewArticleRpcServer

func NewArticleRpcServer(svcCtx *svc.ServiceContext) *ArticleRpcServer

func (*ArticleRpcServer) AddArticle

创建文章

func (*ArticleRpcServer) AddCategory

创建文章分类

func (*ArticleRpcServer) AddTag

创建标签

func (*ArticleRpcServer) AnalysisArticle

分析文章数量

func (*ArticleRpcServer) DeleteArticle

func (s *ArticleRpcServer) DeleteArticle(ctx context.Context, in *articlerpc.IdsReq) (*articlerpc.BatchResp, error)

删除文章

func (*ArticleRpcServer) DeleteCategory

func (s *ArticleRpcServer) DeleteCategory(ctx context.Context, in *articlerpc.IdsReq) (*articlerpc.BatchResp, error)

删除文章分类

func (*ArticleRpcServer) DeleteTag

删除标签

func (*ArticleRpcServer) FindArticleList

查询文章列表

func (*ArticleRpcServer) FindArticlePreviewList

查询文章列表

func (*ArticleRpcServer) FindCategoryList

查询文章分类列表

func (*ArticleRpcServer) FindTagList

查询标签列表

func (*ArticleRpcServer) FindUserLikeArticle

用户点赞的文章

func (*ArticleRpcServer) GetArticle

查询文章

func (*ArticleRpcServer) GetArticleRelation

查询关联文章

func (*ArticleRpcServer) GetCategory

查询文章分类

func (*ArticleRpcServer) GetTag

查询标签

func (*ArticleRpcServer) LikeArticle

点赞文章

func (*ArticleRpcServer) UpdateArticle

更新文章

func (*ArticleRpcServer) UpdateArticleDelete

更新文章删除

func (*ArticleRpcServer) UpdateArticleTop

更新文章置顶

func (*ArticleRpcServer) UpdateCategory

更新文章分类

func (*ArticleRpcServer) UpdateTag

更新标签

func (*ArticleRpcServer) VisitArticle

func (s *ArticleRpcServer) VisitArticle(ctx context.Context, in *articlerpc.IdReq) (*articlerpc.CountResp, error)

访问文章

Jump to

Keyboard shortcuts

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