This PR imports the siteinfo package from github.com/m-lab/switch-monitoring as a new package in alpha state.
Since I'm going to use it in another project, I figured out it would be a good time to move it here rather than having a second project that depends on switch-monitoring.
The code is copied 1-1 and likely does not need another review, except for the fact I've copied the HTTPProvider interface from switch-monitoring/internal/interfaces.go to siteinfo/client.go here.
This PR imports the
siteinfo
package from github.com/m-lab/switch-monitoring as a new package in alpha state.Since I'm going to use it in another project, I figured out it would be a good time to move it here rather than having a second project that depends on switch-monitoring.
The code is copied 1-1 and likely does not need another review, except for the fact I've copied the
HTTPProvider
interface fromswitch-monitoring/internal/interfaces.go
tositeinfo/client.go
here.This change is