scraperconfig.go 405 B

1234567891011
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/purefareceiver/internal"
  4. import "go.opentelemetry.io/collector/config/configauth"
  5. type ScraperConfig struct {
  6. Address string `mapstructure:"address"`
  7. Auth configauth.Authentication `mapstructure:"auth"`
  8. }