mirror of
https://github.com/jkstack/libagent.git
synced 2025-12-24 12:11:57 +08:00
2
app.go
2
app.go
@@ -7,7 +7,7 @@ import (
|
||||
rt "runtime"
|
||||
"time"
|
||||
|
||||
"github.com/jkstack/agent/utils"
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
"github.com/jkstack/anet"
|
||||
"github.com/jkstack/jkframe/logging"
|
||||
)
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/jkstack/agent/utils"
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
"github.com/jkstack/anet"
|
||||
"github.com/jkstack/jkframe/logging"
|
||||
)
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/jkstack/agent/hostinfo"
|
||||
"github.com/jkstack/agent/utils"
|
||||
"github.com/jkstack/agent/internal/hostinfo"
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
"github.com/jkstack/anet"
|
||||
"github.com/jkstack/jkframe/logging"
|
||||
"github.com/shirou/gopsutil/cpu"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package conf
|
||||
|
||||
import (
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
"github.com/jkstack/agent/limit"
|
||||
"github.com/jkstack/agent/utils"
|
||||
)
|
||||
|
||||
// Configure common configure
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/jkstack/agent/utils"
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
"github.com/jkstack/jkframe/logging"
|
||||
runtime "github.com/jkstack/jkframe/utils"
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ package limit
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jkstack/agent/utils"
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
)
|
||||
|
||||
func TestCGroups(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package limit
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/jkstack/agent/utils"
|
||||
"github.com/jkstack/agent/internal/utils"
|
||||
)
|
||||
|
||||
// DiskLimit disk limit configure
|
||||
|
||||
Reference in New Issue
Block a user