mirror of
https://github.com/jkstack/libagent.git
synced 2025-12-24 12:11:57 +08:00
更新service库
This commit is contained in:
4
go.mod
4
go.mod
@@ -2,6 +2,8 @@ module github.com/jkstack/libagent
|
||||
|
||||
go 1.17
|
||||
|
||||
replace github.com/kardianos/service => github.com/lwch/service v1.2.1-fixtag
|
||||
|
||||
require (
|
||||
github.com/btcsuite/winsvc v1.0.0
|
||||
github.com/containerd/cgroups v1.0.4
|
||||
@@ -9,7 +11,7 @@ require (
|
||||
github.com/gorilla/websocket v1.5.0
|
||||
github.com/jkstack/anet v0.0.0-20220902094756-01577713a50a
|
||||
github.com/jkstack/jkframe v1.0.8
|
||||
github.com/lwch/service v1.99.99
|
||||
github.com/kardianos/service v0.0.0-00010101000000-000000000000
|
||||
github.com/opencontainers/runtime-spec v1.0.2
|
||||
github.com/shirou/gopsutil v3.21.11+incompatible
|
||||
github.com/shirou/gopsutil/v3 v3.22.7
|
||||
|
||||
4
go.sum
4
go.sum
@@ -180,8 +180,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
|
||||
github.com/lufia/plan9stats v0.0.0-20220517141722-cf486979b281 h1:aczX6NMOtt6L4YT0fQvKkDK6LZEtdOso9sUH89V1+P0=
|
||||
github.com/lufia/plan9stats v0.0.0-20220517141722-cf486979b281/go.mod h1:lc+czkgO/8F7puNki5jk8QyujbfK1LOT7Wl0ON2hxyk=
|
||||
github.com/lwch/service v1.99.99 h1:WT4sgA4gPYKa+21Tjxi/gZEDvUBvbj1zZs15DkANfZI=
|
||||
github.com/lwch/service v1.99.99/go.mod h1:Nm4lS/ldU4yjDtsHcvrPMKCocD+PUuDV1QaPspihoss=
|
||||
github.com/lwch/service v1.2.1-fixtag h1:WRpi+KRhxxBeoTpXvzkJrZQEkzdRK6+JNc2W5BjJG4E=
|
||||
github.com/lwch/service v1.2.1-fixtag/go.mod h1:CIMRFEJVL+0DS1a3Nx06NaMn4Dz63Ng6O7dl0qH0zVM=
|
||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
||||
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||
|
||||
@@ -6,7 +6,7 @@ package agent
|
||||
import (
|
||||
rt "runtime"
|
||||
|
||||
"github.com/lwch/service"
|
||||
"github.com/kardianos/service"
|
||||
)
|
||||
|
||||
type svr struct {
|
||||
|
||||
Reference in New Issue
Block a user