push
circleci
30 of 30 new or added lines in 4 files covered. (100.0%)
7625 of 10569 relevant lines covered (72.14%)
95648.85 hits per line
1 |
package proxy
|
|
2 |
|
|
3 |
type Status struct { |
|
4 |
Addresses []string
|
|
5 |
} |
|
6 |
|
|
|
func NewStatus(proxy *Proxy) *Status {
|
243✔ |
|
if proxy == nil { |
243✔ |
|
return nil |
× |
|
} |
× |
|
status := &Status{ |
243✔ |
|
Addresses: proxy.normalisedAddrs, |
243✔ |
|
} |
243✔ |
|
return status
|
243✔ |
15 |
} |