Commit c15c23c8 authored by 王明明's avatar 王明明

vy 0321

parent fdf195c2
......@@ -2,13 +2,13 @@ package main
import (
"encoding/json"
"flag"
"fmt"
http "github.com/bogdanfinn/fhttp"
tls_client "github.com/bogdanfinn/tls-client"
"io"
"io/ioutil"
"net/url"
"os"
"strings"
"sync"
"test/model"
......@@ -83,7 +83,7 @@ func actU2() {
}
func actVY() {
px := "http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600"
if len(os.Args) > 0 {
if *Debug {
px = "http://127.0.0.1:8890"
}
t1 := time.Now()
......@@ -101,7 +101,11 @@ func actVY() {
fmt.Println("abck cost", time.Since(t1).String())
testVY(px, body)
}
var Debug *bool
func main() {
Debug = flag.Bool("debug", true, "本地调试")
for i := 0; i < 1; i++ {
t1 := time.Now()
fmt.Println(t1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment