diff options
Diffstat (limited to 'src/go/collectors/go.d.plugin/pkg/web/web.go')
-rw-r--r-- | src/go/collectors/go.d.plugin/pkg/web/web.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/pkg/web/web.go b/src/go/collectors/go.d.plugin/pkg/web/web.go new file mode 100644 index 000000000..07cef4839 --- /dev/null +++ b/src/go/collectors/go.d.plugin/pkg/web/web.go @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +package web + +// HTTP is a struct with embedded Request and Client. +// This structure intended to be part of the module configuration. +// Supported configuration file formats: YAML. +type HTTP struct { + Request `yaml:",inline" json:",inline"` + Client `yaml:",inline" json:",inline"` +} |