URL is a custom URL type that allows validation at configuration load time.
| 173 | |
| 174 | // URL is a custom URL type that allows validation at configuration load time. |
| 175 | type URL struct { |
| 176 | *url.URL |
| 177 | } |
| 178 | |
| 179 | // UnmarshalYAML implements the yaml.Unmarshaler interface for URLs. |
| 180 | func (u *URL) UnmarshalYAML(unmarshal func(any) error) error { |
nothing calls this directly
no outgoing calls
no test coverage detected