Documentation
¶
Index ¶
- Constants
- func ConvComcasttoDB(cs []ComcastServer, cfg *common.Config) []spdb.SpeedServer
- func ImportComcastServerfromFile(cfg *common.Config, filename string) []spdb.SpeedServer
- func LoadComcastServer(cfg *common.Config) []spdb.SpeedServer
- func LoadServers(site string, c_server chan ComcastServer)
- func ResultCollector(c_server chan ComcastServer)
- type ComcastConfig
- type ComcastServer
- type ComcastTestplan
Constants ¶
View Source
const ComcastServerSelect = "https://speedtestprod.mw.comcast.net/api/selectservers/%s"
View Source
const ComcastTestplanUrl = "https://speedtestprod.mw.comcast.net/api/testplans"
Variables ¶
This section is empty.
Functions ¶
func ConvComcasttoDB ¶
func ConvComcasttoDB(cs []ComcastServer, cfg *common.Config) []spdb.SpeedServer
func ImportComcastServerfromFile ¶
func ImportComcastServerfromFile(cfg *common.Config, filename string) []spdb.SpeedServer
func LoadComcastServer ¶
func LoadComcastServer(cfg *common.Config) []spdb.SpeedServer
func LoadServers ¶
func LoadServers(site string, c_server chan ComcastServer)
func ResultCollector ¶
func ResultCollector(c_server chan ComcastServer)
Types ¶
type ComcastConfig ¶
type ComcastServer ¶
type ComcastTestplan ¶
type ComcastTestplan struct {
ServerLocation []string `json:"serverLocation"`
}
func LoadTestPlan ¶
func LoadTestPlan() *ComcastTestplan
Click to show internal directories.
Click to hide internal directories.