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

import (
	"context"
	"bsm/full/module/base/cms/internal/logic/tags"
	pb "bsm/full/module/base/cms/pb"
)

type TagsServer struct {
	pb.UnimplementedTagsServer
}

func NewTagsServer() *TagsServer {
	return &TagsServer{}
}

// 标签列表
func (s *TagsServer) Fetch(ctx context.Context, in *pb.IdentRequest) (*pb.TagsListReply, error) {
	return tags.Fetch(ctx, in)
}

// 创建标签
func (s *TagsServer) Create(ctx context.Context, in *pb.TagsItem) (*pb.StatusReply, error) {
	return tags.Create(ctx, in)
}

// 修改标签
func (s *TagsServer) Modify(ctx context.Context, in *pb.TagsItem) (*pb.StatusReply, error) {
	return tags.Modify(ctx, in)
}

// 删除标签
func (s *TagsServer) Delete(ctx context.Context, in *pb.IdentRequest) (*pb.StatusReply, error) {
	return tags.Delete(ctx, in)
}
