Header represents the configuration for a single HTTP header.
| 81 | |
| 82 | // Header represents the configuration for a single HTTP header. |
| 83 | type Header struct { |
| 84 | Values []string `yaml:"values,omitempty" json:"values,omitempty"` |
| 85 | Secrets []Secret `yaml:"secrets,omitempty" json:"secrets,omitempty"` |
| 86 | Files []string `yaml:"files,omitempty" json:"files,omitempty"` |
| 87 | } |
| 88 | |
| 89 | // SetDirectory makes headers file relative to the configuration file. |
| 90 | func (h *Header) SetDirectory(dir string) { |
nothing calls this directly
no outgoing calls
no test coverage detected