Help us shape the future of Go! Take the 2026 Go Developer Survey

configchecker

command
v7.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

This program is a simple config checker tool for proxies and global configs. It prints out basic statistics and round-trips the low-cardinality portions of the config in order to make sure the YAML parses as expected. The tool can either read a local config file (assumed to be plain text) or a remote http(s) URL (assumed to be gzipped).

Examples:

go run main.go proxies ~/Library/Application\ Support/Lantern/proxies.yaml
go run main.go global ~/Library/Application\ Support/Lantern/global.yaml
go run main.go global https://globalconfig.flashlightproxy.com/global.yaml.gz

Jump to

Keyboard shortcuts

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