From b485aab7e71c1625cfc27e0f92c9509f42378458 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:19:16 +0200 Subject: Adding upstream version 1.45.3+dfsg. Signed-off-by: Daniel Baumann --- src/go/collectors/go.d.plugin/pkg/web/web.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/go/collectors/go.d.plugin/pkg/web/web.go (limited to 'src/go/collectors/go.d.plugin/pkg/web/web.go') 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"` +} -- cgit v1.2.3