Files
openlan/pkg/cache/openvpn_test.go
2022-07-29 23:38:54 +08:00

24 lines
316 B
Go
Executable File

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)
}
}