olivere

package
v0.0.0-...-bb7101a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientOption

type ClientOption struct {
	URL         []string `json:"url" mapstructure:"url" yaml:"url"`
	Index       string   `json:"index" mapstructure:"index" yaml:"index"`
	Username    string   `json:"username" mapstructure:"username" yaml:"username"`
	Password    string   `json:"password" mapstructure:"password" yaml:"password"`
	Shards      int      `json:"shards" mapstructure:"shards" yaml:"shards"`
	Replicas    int      `json:"replicas" mapstructure:"replicas" yaml:"replicas"`
	Sniff       *bool    `json:"sniff" mapstructure:"sniff" yaml:"sniff"`
	Healthcheck *bool    `json:"healthcheck" mapstructure:"healthcheck" yaml:"healthcheck"`
	InfoLog     string   `json:"info_log" mapstructure:"info_log" yaml:"info_log"`
	ErrorLog    string   `json:"error_log" mapstructure:"error_log" yaml:"error_log"`
	TraceLog    string   `json:"trace_log" mapstructure:"trace_log" yaml:"trace_log"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL