// Code generated by goctl. DO NOT EDIT. // Source: pcm-scf.proto package server import ( "context" "PCM/adaptor/PCM-FC/PCM-SCF/internal/logic" "PCM/adaptor/PCM-FC/PCM-SCF/internal/svc" "PCM/adaptor/PCM-FC/PCM-SCF/scf" ) type ScfServer struct { svcCtx *svc.ServiceContext scf.UnimplementedScfServer } func NewScfServer(svcCtx *svc.ServiceContext) *ScfServer { return &ScfServer{ svcCtx: svcCtx, } } // ListFunctions 查询腾讯云云函数列表 func (s *ScfServer) ListFunctions(ctx context.Context, in *scf.ListFunctionsReq) (*scf.ListFunctionsResp, error) { l := logic.NewListFunctionsLogic(ctx, s.svcCtx) return l.ListFunctions(in) } // GetFunctions 查询腾讯云云函数详情 func (s *ScfServer) GetFunctions(ctx context.Context, in *scf.GetFunctionsReq) (*scf.GetFunctionsResp, error) { l := logic.NewGetFunctionsLogic(ctx, s.svcCtx) return l.GetFunctions(in) }