Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConfigFile ¶
type OpenTelemetryConfigFile ¶
type OpenTelemetryConfigFile struct { CollectorURL string `mapstructure:"collectorURL" json:"collectorURL,omitempty"` ServiceName string `mapstructure:"serviceName" json:"serviceName,omitempty" default:"server"` TraceIdRatio string `mapstructure:"traceIdRatio" json:"traceIdRatio,omitempty" default:"1"` Insecure bool `mapstructure:"insecure" json:"insecure,omitempty" default:"false"` }
type TLSConfigFile ¶
type TLSConfigFile struct { // TLSStrategy can be "tls", "mtls", or "none" TLSStrategy string `mapstructure:"tlsStrategy" json:"tlsStrategy,omitempty" default:"tls"` TLSCert string `mapstructure:"tlsCert" json:"tlsCert,omitempty"` TLSCertFile string `mapstructure:"tlsCertFile" json:"tlsCertFile,omitempty"` TLSKey string `mapstructure:"tlsKey" json:"tlsKey,omitempty"` TLSKeyFile string `mapstructure:"tlsKeyFile" json:"tlsKeyFile,omitempty"` TLSRootCA string `mapstructure:"tlsRootCA" json:"tlsRootCA,omitempty"` TLSRootCAFile string `mapstructure:"tlsRootCAFile" json:"tlsRootCAFile,omitempty"` }
Click to show internal directories.
Click to hide internal directories.