mirrorlist

command module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

README

Mirrorlist

Mirrorlist is a simple pacman mirror list generator.

Install

You can install Mirrorlist using go install command.

go install github.com/enindu/mirrorlist

Usage

There are 8 flags for mirrorlist command.

  • -mirror-list-timeout: Request timeout to send and receive response from mirror list URL.
  • -mirror-timeout: Request timeout to send and receive response from mirror URL.
  • -http-only: Use only HTTP mirrors to generate mirror list. This can not use with -https-only flag.
  • -https-only: Use only HTTPS mirrors to generate mirror list. This can not use with -http-only flag.
  • -count: Count of mirrors to generate.
  • -pings: Pings per a mirror. Higher pings means precise results, but high execution time.
  • -output: Store mirrors in a file. This truncate any existing file.
  • -verbose: Display warning messages in command line.

You can see more information using go doc command.

go doc mirrorlist

Documentation

Overview

Mirrorlist is a simple pacman mirror list generator.

Usage:

mirrorlist [flags] [-http-only|-https-only]

The flags are:

-mirror-list-timeout
	Request timeout to send and receive response from mirror list URL.
-mirror-timeout
	Request timeout to send and receive response from mirror URL.
-http-only
	Use only HTTP mirrors to generate mirror list. This can not use with
	-https-only flag.
-https-only
	Use only HTTPS mirrors to generate mirror list. This can not use with
	-http-only flag.
-count
	Count of mirrors to generate.
-pings
	Pings per a mirror. Higher pings means precise results, but high
	execution time.
-output
	Store mirrors in a file. This truncate any existing file.
-verbose
	Display warning messages in command line.

Jump to

Keyboard shortcuts

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