put请求
(api string)
| 477 | |
| 478 | //put请求 |
| 479 | func (this *ElasticSearchClient) put(api string) (req *httplib.BeegoHTTPRequest) { |
| 480 | return httplib.Put(api).Header("Content-Type", "application/json").SetTimeout(this.Timeout, this.Timeout) |
| 481 | } |
| 482 | |
| 483 | //post请求 |
| 484 | func (this *ElasticSearchClient) post(api string) (req *httplib.BeegoHTTPRequest) { |
no outgoing calls
no test coverage detected