URL is a custom URL type that allows validation at configuration load time.
| 160 | |
| 161 | // URL is a custom URL type that allows validation at configuration load time. |
| 162 | type URL struct { |
| 163 | *url.URL |
| 164 | } |
| 165 | |
| 166 | // UnmarshalYAML implements the yaml.Unmarshaler interface for URLs. |
| 167 | func (u *URL) UnmarshalYAML(unmarshal func(interface{}) error) error { |
nothing calls this directly
no outgoing calls
no test coverage detected