package
1.2.4
Repository: https://github.com/happay/cms-utils-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

createIndexWithShardManagement checks if the indexName is already exists, and create it otherwise with given count of shards and replicas.
GetElasticConnection provides a client to elastic search which can be used for insertion, search, removal etc.
GetElasticSearchData get the data from elastic search.
GetOpenSearchConnection provides a client to elastic search which can be used for insertion, search, removal etc.
GetPgConn creates the database connection and the *gorm.Db object.
GetRedisConn returns the redis.Client object.
No description provided by the author
GetTopElasticSearchData will return the top hit search result.
No description provided by the author
No description provided by the author
PushElasticSearchData push data to elastic search.

# Constants

elastic config params.
HCMSlackNotifyRegion ...
No description provided by the author
No description provided by the author
postgres config params.
postgres config params.
postgres config params.
postgres config params.
postgres config params.
postgres config params.
postgres config params.
postgres config params.
No description provided by the author
No description provided by the author
SlackMessageLambdaFuncName ...

# Variables

PostgresConfigParams : AVOID the use of same variable whenever using these constants.

# Structs

No description provided by the author
to get the credentials for Os connection.
SlackMessage is used to send the message on the specified slack channel.