Documentation ¶
Index ¶
- type EsStorage
- func (e *EsStorage) InitStorage(cfg *config.EsConfig) error
- func (e *EsStorage) Query(_query map[string]interface{}, page, pageSize int) (map[string]interface{}, error)
- func (e *EsStorage) QueryFingerPrintInfo(_query map[string]interface{}, page, pageSize int) (map[string]interface{}, error)
- func (e *EsStorage) QueryInfo(_query map[string]interface{}) ([]byte, error)
- func (e *EsStorage) Save(body interface{}) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsStorage ¶
type EsStorage struct {
// contains filtered or unexported fields
}
func (*EsStorage) QueryFingerPrintInfo ¶
type Storage ¶
type Storage interface { InitStorage(cfg *config.EsConfig) error Query(query map[string]interface{}, page, size int) (map[string]interface{}, error) QueryInfo(map[string]interface{}) ([]byte, error) QueryFingerPrintInfo(map[string]interface{}, int, int) (map[string]interface{}, error) Save(body interface{}) error }
Click to show internal directories.
Click to hide internal directories.