Skip to content

enindu/mirrorlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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