restful web service reqeust tool
go get github.com/syhlion/greq
func main(){
//need import https://github.com/syhlion/requestwork.v2
worker:=requestwork.New(50)
debug:=true
client:=greq.New(worker,15*time.Second,debug)
//GET
data,httpstatus,err:=client.Get("https://tw.yahoo.com",nil)
//POST
v := url.Values{}
v.Add("data", string(data))
data,httpstatus,err:=client.Post("https://tw.yahoo.com",bytes.NewBufferString(v.Encode()))
}