master
go 11 lines 352 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 package web
4
5 // HTTPConfig is a struct with embedded RequestConfig and ClientConfig.
6 // This structure intended to be part of the module configuration.
7 // Supported configuration file formats: YAML.
8 type HTTPConfig struct {
9 RequestConfig `yaml:",inline" json:""`
10 ClientConfig `yaml:",inline" json:""`
11 }