feat: allow to export logs
Signed-off-by: huanggze <loganhuang@yunify.com>
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
package esclient
|
||||
|
||||
import "time"
|
||||
|
||||
type Client interface {
|
||||
// Perform Search API
|
||||
Search(body []byte) ([]byte, error)
|
||||
Search(body []byte, scrollTimeout time.Duration) ([]byte, error)
|
||||
Scroll(scrollId string, scrollTimeout time.Duration) ([]byte, error)
|
||||
ClearScroll(scrollId string)
|
||||
GetTotalHitCount(v interface{}) int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user