package
0.2.14
Repository: https://github.com/thalesfsp/dal.git
Documentation: pkg.go.dev

# Functions

Get returns a setup MongoDB, or set it up.
New returns a new `ElasticSearch` storage.
NewWithDynamicIndex returns a new `ElasticSearch` storage.
NewWithIndex returns a new `ElasticSearch` storage specifying the index name.
Set sets the storage, primarily used for testing.
ToElasticSearchString converts the `Sort` to ElasticSearch sort format.

# Constants

Name of the storage.

# Structs

CountResponse is the response from the Count operation.
ElasticSearch storage definition.
ResponseError is the error from the Elasticsearch response.
ResponseErrorFromES is the error from the Elasticsearch response.
ResponseErrorFromESReason is the reason from the Elasticsearch response.
ResponseSourceFromES is the data from the Elasticsearch response.

# Type aliases

Config is the ElasticSearch configuration.
DynamicIndexFunc is a function which defines the name of the index, and evaluated at the index time.