1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- // Code generated by goctl. DO NOT EDIT.
- // Source: biService.proto
- package server
- import (
- "context"
- "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/logic"
- "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb"
- )
- type BiServiceServer struct {
- svcCtx *svc.ServiceContext
- pb.UnimplementedBiServiceServer
- }
- func NewBiServiceServer(svcCtx *svc.ServiceContext) *BiServiceServer {
- return &BiServiceServer{
- svcCtx: svcCtx,
- }
- }
- func (s *BiServiceServer) MyDataAsset(ctx context.Context, in *pb.MyDataAssetReq) (*pb.MyDataAssetResp, error) {
- l := logic.NewMyDataAssetLogic(ctx, s.svcCtx)
- return l.MyDataAsset(in)
- }
- func (s *BiServiceServer) AddProject(ctx context.Context, in *pb.AddProjectReq) (*pb.AddProjectResp, error) {
- l := logic.NewAddProjectLogic(ctx, s.svcCtx)
- return l.AddProject(in)
- }
- func (s *BiServiceServer) GetInfoId(ctx context.Context, in *pb.AddProjectReq) (*pb.GetInfoIdResp, error) {
- l := logic.NewGetInfoIdLogic(ctx, s.svcCtx)
- return l.GetInfoId(in)
- }
- func (s *BiServiceServer) DrawClue(ctx context.Context, in *pb.DrawClueReq) (*pb.AddProjectResp, error) {
- l := logic.NewDrawClueLogic(ctx, s.svcCtx)
- return l.DrawClue(in)
- }
- func (s *BiServiceServer) Call(ctx context.Context, in *pb.CallReq) (*pb.Resp, error) {
- l := logic.NewCallLogic(ctx, s.svcCtx)
- return l.Call(in)
- }
- func (s *BiServiceServer) DistributeClue(ctx context.Context, in *pb.DistributeClueReq) (*pb.AddProjectResp, error) {
- l := logic.NewDistributeClueLogic(ctx, s.svcCtx)
- return l.DistributeClue(in)
- }
- func (s *BiServiceServer) ClueImport(ctx context.Context, in *pb.ClueImportReq) (*pb.ClueImportResp, error) {
- l := logic.NewClueImportLogic(ctx, s.svcCtx)
- return l.ClueImport(in)
- }
- func (s *BiServiceServer) ClueAdd(ctx context.Context, in *pb.ClueAddReq) (*pb.AddProjectResp, error) {
- l := logic.NewClueAddLogic(ctx, s.svcCtx)
- return l.ClueAdd(in)
- }
- func (s *BiServiceServer) ClueImportTt(ctx context.Context, in *pb.ClueImportReq) (*pb.ClueImportResp, error) {
- l := logic.NewClueImportTtLogic(ctx, s.svcCtx)
- return l.ClueImportTt(in)
- }
- func (s *BiServiceServer) AutoFollow(ctx context.Context, in *pb.CallReq) (*pb.ClueImportResp, error) {
- l := logic.NewAutoFollowLogic(ctx, s.svcCtx)
- return l.AutoFollow(in)
- }
- func (s *BiServiceServer) SqlManage(ctx context.Context, in *pb.SqlManageReq) (*pb.Reply, error) {
- l := logic.NewSqlManageLogic(ctx, s.svcCtx)
- return l.SqlManage(in)
- }
- func (s *BiServiceServer) MyInfo(ctx context.Context, in *pb.MyInfoReq) (*pb.Reply, error) {
- l := logic.NewMyInfoLogic(ctx, s.svcCtx)
- return l.MyInfo(in)
- }
- func (s *BiServiceServer) AllInfoExport(ctx context.Context, in *pb.ExportReq) (*pb.Reply, error) {
- l := logic.NewAllInfoExportLogic(ctx, s.svcCtx)
- return l.AllInfoExport(in)
- }
- func (s *BiServiceServer) AllProjectExport(ctx context.Context, in *pb.ExportReq) (*pb.Reply, error) {
- l := logic.NewAllProjectExportLogic(ctx, s.svcCtx)
- return l.AllProjectExport(in)
- }
- func (s *BiServiceServer) InfoOperate(ctx context.Context, in *pb.OperateReq) (*pb.Resp, error) {
- l := logic.NewInfoOperateLogic(ctx, s.svcCtx)
- return l.InfoOperate(in)
- }
|