12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // 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)
- }
|