// Code generated by protoc-gen-slc. DO NOT EDIT. package server import ( "bsm/full/module/social/relation/internal/logic/follow" pb "bsm/full/module/social/relation/pb" "context" ) type FollowServer struct { pb.UnimplementedFollowServer } func NewFollowServer() *FollowServer { return &FollowServer{} } // 执行关注 func (s *FollowServer) Doing(ctx context.Context, in *pb.IdentRequest) (*pb.DataStatusReply, error) { return follow.Doing(ctx, in) } // 撤销关注 func (s *FollowServer) Undo(ctx context.Context, in *pb.IdentRequest) (*pb.DataStatusReply, error) { return follow.Undo(ctx, in) } // 关注状态 func (s *FollowServer) State(ctx context.Context, in *pb.IdentRequest) (*pb.DataStatusReply, error) { return follow.State(ctx, in) } // 获取关注列表 func (s *FollowServer) Fetch(ctx context.Context, in *pb.FetchRequest) (*pb.FetchRelationItemReply, error) { return follow.Fetch(ctx, in) }