| 1 | package opensearch |
| 2 | |
| 3 | import ( |
| 4 | "net/http" |
| 5 | ) |
| 6 | |
| 7 | //应用管理类API |
| 8 | const ( |
| 9 | status = "status" |
| 10 | ) |
| 11 | |
| 12 | //查看应用信息 |
| 13 | func (this *Client) GetStatus(appName string, resp interface{}) error { |
| 14 | return this.InvokeByAnyMethod(http.MethodGet, "", "/index/"+appName, OpenSearchArgs{Action: status}, resp) |
| 15 | } |