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