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

import (
	"bsm/full/module/social/relation/internal/logic/match"
	pb "bsm/full/module/social/relation/pb"
	"context"
)

type MatchServer struct {
	pb.UnimplementedMatchServer
}

func NewMatchServer() *MatchServer {
	return &MatchServer{}
}

// 获取匹配列表
func (s *MatchServer) Fetch(ctx context.Context, in *pb.FetchRequest) (*pb.FetchRelationItemReply, error) {
	return match.Fetch(ctx, in)
}

// 获取匹配详情
func (s *MatchServer) Get(ctx context.Context, in *pb.IdentRequest) (*pb.RelationItem, error) {
	return match.Get(ctx, in)
}

// 执行通过，加为好友
func (s *MatchServer) DoJoin(ctx context.Context, in *pb.IdentRequest) (*pb.DataStatusReply, error) {
	return match.DoJoin(ctx, in)
}

// 执行忽略
func (s *MatchServer) DoIgnore(ctx context.Context, in *pb.IdentRequest) (*pb.DataStatusReply, error) {
	return match.DoIgnore(ctx, in)
}
