config

package
v0.0.0-...-8d187f3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalAPM

type ExternalAPM struct {
	Name        string            `yaml:"name"`
	Addr        string            `yaml:"addr"` // e.g.: http://host:port
	Timeout     time.Duration     `default:"60s" yaml:"timeout"`
	TLS         *TLSConfig        `yaml:"tls_config"`
	ExtraConfig map[string]string `yaml:"extra_config"`
}

type TLSConfig

type TLSConfig struct {
	CAFile   string `yaml:"ca-file"`
	CertFile string `yaml:"cert-file"`
	KeyFile  string `yaml:"key-file"`
	Insecure bool   `yaml:"insecure"`
}

Jump to

Keyboard shortcuts

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