Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// > @3@4@5@6
// >
// > An address to listen to. Omit ip/host to listen all network interfaces. E.g. `:88`
Address string `json:"address" default:":9200"` // *
// > @3@4@5@6
// >
// > Which protocol to emulate.
EmulateMode string `json:"emulate_mode" default:"no" options:"no|elasticsearch"` // *
// > @3@4@5@6
// >
// > CA certificate in PEM encoding. This can be a path or the content of the certificate.
// > If both ca_cert and private_key are set, the server starts accepting connections in TLS mode.
CACert string `json:"ca_cert" default:""` // *
// > @3@4@5@6
// >
// > CA private key in PEM encoding. This can be a path or the content of the key.
// > If both ca_cert and private_key are set, the server starts accepting connections in TLS mode.
PrivateKey string `json:"private_key" default:""` // *
}
! config-params ^ config-params
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) RegisterMetrics ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.