clone from danieldin95

This commit is contained in:
sicheng
2022-07-29 23:38:54 +08:00
commit ac4f79bbf4
1931 changed files with 568263 additions and 0 deletions

23
pkg/cache/openvpn_test.go vendored Executable file
View File

@@ -0,0 +1,23 @@
package cache
import (
"fmt"
"testing"
"time"
)
func Test_VPNClient_ListStatus(t *testing.T) {
fmt.Println(time.Now().Unix())
for v := range VPNClient.List("yunex") {
if v == nil {
break
}
fmt.Println(v)
}
for v := range VPNClient.List("guest") {
if v == nil {
break
}
fmt.Println(v)
}
}