model

package
v0.0.5-20241006123443 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const PingTestVersion = "v0.0.5"

Variables

View Source
var (
	NetCMCC = "https://raw.githubusercontent.com/spiritLHLS/speedtest.net-CN-ID/main/CN_Mobile.csv"
	NetCT   = "https://raw.githubusercontent.com/spiritLHLS/speedtest.net-CN-ID/main/CN_Telecom.csv"
	NetCU   = "https://raw.githubusercontent.com/spiritLHLS/speedtest.net-CN-ID/main/CN_Unicom.csv"
	CnCMCC  = "https://raw.githubusercontent.com/spiritLHLS/speedtest.cn-CN-ID/main/mobile.csv"
	CnCT    = "https://raw.githubusercontent.com/spiritLHLS/speedtest.cn-CN-ID/main/telecom.csv"
	CnCU    = "https://raw.githubusercontent.com/spiritLHLS/speedtest.cn-CN-ID/main/unicom.csv"
	CdnList = []string{
		"http://cdn0.spiritlhl.top/",
		"http://cdn1.spiritlhl.top/",
		"http://cdn1.spiritlhl.net/",
		"http://cdn3.spiritlhl.net/",
		"http://cdn2.spiritlhl.net/",
	}
)
View Source
var EnableLoger = false

Functions

This section is empty.

Types

type Server

type Server struct {
	Name string
	IP   string
	Port string
	Avg  time.Duration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL