package rename

This commit is contained in:
nquidox 2025-12-20 16:05:56 +03:00
parent feb7d770e6
commit 4ec69fcc08
5 changed files with 7 additions and 7 deletions

View file

@ -10,9 +10,9 @@ import (
"syscall" "syscall"
"task-processor/config" "task-processor/config"
"task-processor/internal/appState" "task-processor/internal/appState"
"task-processor/internal/network"
"task-processor/internal/parsers" "task-processor/internal/parsers"
"task-processor/internal/processor" "task-processor/internal/processor"
"task-processor/internal/remote"
"task-processor/internal/shared" "task-processor/internal/shared"
"time" "time"
) )
@ -24,7 +24,7 @@ type App struct {
retryCount int retryCount int
retryMinutes int retryMinutes int
state *appState.State state *appState.State
network *network.Network network *remote.Network
numCPUs int numCPUs int
} }
@ -43,7 +43,7 @@ func New(c *config.Config) *App {
retryCount: c.TasksCfg.RetryCount, retryCount: c.TasksCfg.RetryCount,
retryMinutes: c.TasksCfg.RetryMinutes, retryMinutes: c.TasksCfg.RetryMinutes,
state: st, state: st,
network: network.NewHandler(), network: remote.NewHandler(),
numCPUs: numCPUs, numCPUs: numCPUs,
} }
} }

View file

@ -1,4 +1,4 @@
package network package remote
type Network struct{} type Network struct{}

View file

@ -1,4 +1,4 @@
package network package remote
import ( import (
"context" "context"

View file

@ -1,4 +1,4 @@
package network package remote
import ( import (
"context" "context"

View file

@ -1,4 +1,4 @@
package network package remote
import ( import (
"context" "context"