Skip to content

Commit

Permalink
add logs to warp
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Feb 16, 2024
1 parent 11fb33c commit ba1c9dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions outbound/wireguard.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ type WireGuard struct {
fakePacketsDelay []int
isClosed bool //hiddify
wgDependencies []WireGuard //hidify
lastUpdate time.Duration
}

func NewWireGuard(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.WireGuardOutboundOptions) (*WireGuard, error) {
Expand Down Expand Up @@ -241,6 +242,11 @@ func (w *WireGuard) InterfaceUpdated() {
for _, wgout := range w.wgDependencies {
wgout.InterfaceUpdated()
}
if time.Since(w.lastUpdate) < 50*time.Millisecond {

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64, linux, mips64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv5, linux, arm, 5)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64, darwin, amd64, v1)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-hardfloat, linux, mipsle, hardfloat)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv6, linux, arm, 6)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-softfloat, linux, mipsle, softfloat)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-arm64, freebsd, arm64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64, linux, amd64, v1)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-386, linux, 386)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv7, linux, arm, 7)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-arm64, linux, arm64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64-v3, freebsd, amd64, v3)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64el, linux, mips64le)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64-v3, darwin, amd64, v3)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-arm64, darwin, arm64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64, freebsd, amd64, v1)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-386, freebsd, 386)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / Debug build (Go 1.20)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 245 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64-v3, linux, amd64, v3)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since
return
}
w.lastUpdate = time.Now()

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64, linux, mips64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv5, linux, arm, 5)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64, darwin, amd64, v1)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-hardfloat, linux, mipsle, hardfloat)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv6, linux, arm, 6)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-softfloat, linux, mipsle, softfloat)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-arm64, freebsd, arm64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64, linux, amd64, v1)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-386, linux, 386)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv7, linux, arm, 7)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-arm64, linux, arm64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64-v3, freebsd, amd64, v3)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64el, linux, mips64le)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64-v3, darwin, amd64, v3)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-arm64, darwin, arm64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64, freebsd, amd64, v1)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-386, freebsd, 386)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / Debug build (Go 1.20)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 248 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64-v3, linux, amd64, v3)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment
logger.Warn("Hiddify! Wirguard! Interface updated!")

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64, linux, mips64)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv5, linux, arm, 5)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64, darwin, amd64, v1)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-hardfloat, linux, mipsle, hardfloat)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv6, linux, arm, 6)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-softfloat, linux, mipsle, softfloat)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-arm64, freebsd, arm64)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64, linux, amd64, v1)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-386, linux, 386)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv7, linux, arm, 7)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-arm64, linux, arm64)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64-v3, freebsd, amd64, v3)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64el, linux, mips64le)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64-v3, darwin, amd64, v3)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-arm64, darwin, arm64)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64, freebsd, amd64, v1)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-386, freebsd, 386)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / Debug build (Go 1.20)

undefined: logger

Check failure on line 249 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64-v3, linux, amd64, v3)

undefined: logger
w.device.BindUpdate()
return
}
Expand All @@ -249,6 +255,11 @@ func (w *WireGuard) onPauseUpdated(event int) {
for _, wgout := range w.wgDependencies {
wgout.onPauseUpdated(event)
}
if time.Since(w.lastUpdate) < 50*time.Millisecond {

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64, linux, mips64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv5, linux, arm, 5)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64, darwin, amd64, v1)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-hardfloat, linux, mipsle, hardfloat)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv6, linux, arm, 6)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-softfloat, linux, mipsle, softfloat)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-arm64, freebsd, arm64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64, linux, amd64, v1)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-386, linux, 386)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv7, linux, arm, 7)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-arm64, linux, arm64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64-v3, freebsd, amd64, v3)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64el, linux, mips64le)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64-v3, darwin, amd64, v3)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-arm64, darwin, arm64)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64, freebsd, amd64, v1)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-386, freebsd, 386)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / Debug build (Go 1.20)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since

Check failure on line 258 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64-v3, linux, amd64, v3)

cannot use w.lastUpdate (variable of type time.Duration) as time.Time value in argument to time.Since
return
}
w.lastUpdate = time.Now()

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64, linux, mips64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv5, linux, arm, 5)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64, darwin, amd64, v1)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-hardfloat, linux, mipsle, hardfloat)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv6, linux, arm, 6)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-softfloat, linux, mipsle, softfloat)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-arm64, freebsd, arm64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64, linux, amd64, v1)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-386, linux, 386)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv7, linux, arm, 7)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-arm64, linux, arm64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64-v3, freebsd, amd64, v3)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64el, linux, mips64le)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64-v3, darwin, amd64, v3)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-arm64, darwin, arm64)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64, freebsd, amd64, v1)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-386, freebsd, 386)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / Debug build (Go 1.20)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment

Check failure on line 261 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64-v3, linux, amd64, v3)

cannot use time.Now() (value of type time.Time) as time.Duration value in assignment
logger.Warn("Hiddify! Wirguard! on Pause updated!")

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64, linux, mips64)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv5, linux, arm, 5)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64, darwin, amd64, v1)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-hardfloat, linux, mipsle, hardfloat)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv6, linux, arm, 6)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mipsel-softfloat, linux, mipsle, softfloat)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-arm64, freebsd, arm64)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64, linux, amd64, v1)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-386, linux, 386)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-armv7, linux, arm, 7)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-arm64, linux, arm64)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64-v3, freebsd, amd64, v3)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-mips64el, linux, mips64le)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-amd64-v3, darwin, amd64, v3)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (darwin-arm64, darwin, arm64)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-amd64, freebsd, amd64, v1)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (freebsd-386, freebsd, 386)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / Debug build (Go 1.20)

undefined: logger

Check failure on line 262 in outbound/wireguard.go

View workflow job for this annotation

GitHub Actions / cross (linux-amd64-v3, linux, amd64, v3)

undefined: logger
switch event {
case pause.EventDevicePaused:
w.device.Down()
Expand Down

0 comments on commit ba1c9dd

Please sign in to comment.