// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"bsm/full/module/social/feed/internal/logic/tag"
	pb "bsm/full/module/social/feed/pb"
	"context"
)

type TagServer struct {
	pb.UnimplementedTagServer
}

func NewTagServer() *TagServer {
	return &TagServer{}
}

// 标签列表
func (s *TagServer) List(ctx context.Context, in *pb.FetchRequest) (*pb.TagListReply, error) {
	return tag.List(ctx, in)
}

// 新建标签
func (s *TagServer) Create(ctx context.Context, in *pb.AddTagRequest) (*pb.DataStatusReply, error) {
	return tag.Create(ctx, in)
}

// 话题相关的文章
func (s *TagServer) PostList(ctx context.Context, in *pb.FetchRequest) (*pb.FeedPostListReply, error) {
	return tag.PostList(ctx, in)
}
