post请求
(api string)
| 482 | |
| 483 | //post请求 |
| 484 | func (this *ElasticSearchClient) post(api string) (req *httplib.BeegoHTTPRequest) { |
| 485 | return httplib.Post(api).Header("Content-Type", "application/json").SetTimeout(this.Timeout, this.Timeout) |
| 486 | } |
| 487 | |
| 488 | //delete请求 |
| 489 | func (this *ElasticSearchClient) delete(api string) (req *httplib.BeegoHTTPRequest) { |
no test coverage detected