Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NATS ¶
type NATS struct {
// Servers is the NATS server pool to connect to
Servers []string
// Credentials
Username string
Password string
// NATS subject to publish metrics to
Subject string
// Path to CA file
SSLCA string `toml:"ssl_ca"`
// Path to host cert file
SSLCert string `toml:"ssl_cert"`
// Path to cert key file
SSLKey string `toml:"ssl_key"`
// Use SSL but skip chain & host verification
InsecureSkipVerify bool
// contains filtered or unexported fields
}
func (*NATS) Description ¶
func (*NATS) SampleConfig ¶
func (*NATS) SetSerializer ¶
func (n *NATS) SetSerializer(serializer serializers.Serializer)
Click to show internal directories.
Click to hide internal directories.