// Code generated by goctl. DO NOT EDIT. // Source: biService.proto package biservice import ( "context" "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb" "github.com/zeromicro/go-zero/zrpc" "google.golang.org/grpc" ) type ( AddProject = pb.AddProject AddProjectReq = pb.AddProjectReq AddProjectResp = pb.AddProjectResp DrawClueReq = pb.DrawClueReq GetInfoIdResp = pb.GetInfoIdResp MyDataAsset = pb.MyDataAsset MyDataAssetReq = pb.MyDataAssetReq MyDataAssetResp = pb.MyDataAssetResp BiService interface { MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) } defaultBiService struct { cli zrpc.Client } ) func NewBiService(cli zrpc.Client) BiService { return &defaultBiService{ cli: cli, } } func (m *defaultBiService) MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) { client := pb.NewBiServiceClient(m.cli.Conn()) return client.MyDataAsset(ctx, in, opts...) } func (m *defaultBiService) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) { client := pb.NewBiServiceClient(m.cli.Conn()) return client.AddProject(ctx, in, opts...) } func (m *defaultBiService) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) { client := pb.NewBiServiceClient(m.cli.Conn()) return client.GetInfoId(ctx, in, opts...) } func (m *defaultBiService) DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) { client := pb.NewBiServiceClient(m.cli.Conn()) return client.DrawClue(ctx, in, opts...) }