m-lab / go

General purpose libraries / APIs for use in mlab code.
Apache License 2.0
5 stars 6 forks source link

Import the siteinfo package from m-lab/switch-monitoring #108

Closed robertodauria closed 4 years ago

robertodauria commented 4 years ago

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 change is Reviewable

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 810


Totals Coverage Status
Change from base Build 801: 0.3%
Covered Lines: 1396
Relevant Lines: 1705

💛 - Coveralls