speedtest

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	ServerName    string
	ServerCountry string
	Latency       time.Duration
	Download      float64
	Upload        float64
}

func Run

func Run(ctx context.Context, options ...speedtest.Option) (*Result, error)

"socks://127.0.0.1:7890" speedtest.WithUserConfig(&speedtest.UserConfig{Proxy: proxy})

Jump to

Keyboard shortcuts

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