Pause recurring tasks when no network

This commit is contained in:
世界
2023-08-07 17:46:51 +08:00
parent 2d0aa96cbe
commit 5acc40d72f
11 changed files with 52 additions and 84 deletions

2
go.mod
View File

@@ -37,7 +37,7 @@ require (
github.com/sagernet/tfo-go v0.0.0-20230303015439-ffcfd8c41cf9
github.com/sagernet/utls v0.0.0-20230309024959-6732c2ab36f2
github.com/sagernet/websocket v0.0.0-20220913015213-615516348b4e
github.com/sagernet/wireguard-go v0.0.0-20230420044414-a7bac1754e77
github.com/sagernet/wireguard-go v0.0.0-20230807125731-5d4a7ef2dc5f
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
go.etcd.io/bbolt v1.3.7