Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToBytes ¶
func ConvertToBytes(v interface{}) []byte
Types ¶
type ElasticSearch ¶
type ElasticSearch struct {
URLs []string `yaml:"urls"`
IndexName string `yaml:"indexName"`
Username string `yaml:"username"`
Password string `yaml:"password"`
EnableSniffer bool `yaml:"enableSniffer"`
Timeout model.Duration `yaml:"timeout"`
HealthCheckInterval model.Duration `yaml:"healthCheckInterval"`
Client *elastic.Client `yaml:"-"`
}
func (*ElasticSearch) Close ¶
func (d *ElasticSearch) Close() error
type Kafka ¶
type Mysql ¶
Click to show internal directories.
Click to hide internal directories.