mirror of
https://github.com/luscis/openlan.git
synced 2025-10-05 08:36:59 +08:00
24 lines
316 B
Go
Executable File
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)
|
|
}
|
|
}
|