server

package
v0.0.0-...-eea11df Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 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) FindArticlePublicList

查询文章列表

func (*ArticleRpcServer) FindCategoryList

查询文章分类列表

func (*ArticleRpcServer) FindTagList

查询标签列表

func (*ArticleRpcServer) FindUserLikeArticle

用户点赞的文章

func (*ArticleRpcServer) GetArticle

查询文章

func (*ArticleRpcServer) GetArticleRecommend

查询文章推荐

func (*ArticleRpcServer) GetCategory

查询文章分类

func (*ArticleRpcServer) GetTag

查询标签

func (*ArticleRpcServer) LikeArticle

点赞文章

func (*ArticleRpcServer) RecycleArticle

回收文章

func (*ArticleRpcServer) TopArticle

置顶文章

func (*ArticleRpcServer) UpdateArticle

更新文章

func (*ArticleRpcServer) UpdateCategory

更新文章分类

func (*ArticleRpcServer) UpdateTag

更新标签

Jump to

Keyboard shortcuts

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