package
Version:
v0.2.21
Opens a new window with list of versions in this module.
Published: Feb 1, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func InitElasticSearch(esName string, confStr string, opts ...elastic.ClientOptionFunc) error
type Config struct {
Host string `json:"host" yaml:"host" validate:"required"`
Username string `json:"username" yaml:"username" validate:"required"`
Password string `json:"password" yaml:"password" validate:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.