package server import ( "context" support "lone-services/rpc/support/pb" "lone-services/services/support/internal/logic" "lone-services/services/support/internal/svc" ) type SupportServer struct { svcCtx *svc.ServiceContext support.UnimplementedSupportServer } func NewSupportServer(svcCtx *svc.ServiceContext) *SupportServer { return &SupportServer{ svcCtx: svcCtx, } } func (s *SupportServer) Call(ctx context.Context, in *support.CallReq) (*support.Response, error) { l := logic.NewCallLogic(ctx, s.svcCtx) return l.Call(in) }