package rename
This commit is contained in:
parent
feb7d770e6
commit
4ec69fcc08
5 changed files with 7 additions and 7 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package network
|
package remote
|
||||||
|
|
||||||
type Network struct{}
|
type Network struct{}
|
||||||
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package network
|
package remote
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package network
|
package remote
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package network
|
package remote
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue