GitHub - ycd/dstp: 🧪 Run common networking tests against your site.
source link: https://github.com/ycd/dstp
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
dstp, run common networking tests against your site.
Usage
Usage: dstp [OPTIONS] [ARGS]
Options:
-a, --addr <string> The URL or the IP address to run tests against [REQUIRED]
-o, --out <string> The type of the output, either json or plaintext [Default: plaintext]
-c <bool> Run all the tests concurrently. [Default: false]
-h, --help Show this message and exit.
Motivation
A comment about a DNS thread on lobste.rs gave a great idea and thought a robust tool like that come in handy!
Installation
Packages
Homebrew
For Homebrew on macOS, install the ycd/tap/dstp
formula.
brew install ycd/tap/dstp
Downloads
Binary downloads of example are available from the releases section on GitHub for 64-bit Windows, macOS, and Linux targets. They contain the compiled executable.
Installation from source
-
Verify that you have Go 1.16+ installed
$ go version
If
go
is not installed, follow instructions on the Go website. -
Clone this repository
$ git clone https://github.com/ycd/dstp $ cd dstp
-
Build and install
Unix/Linux
# May require you to use sudo $ go build . $ cp dstp /usr/local/dstp
-
Verify installation
$ dstp -h Usage: dstp [OPTIONS] [ARGS] Options: -a, --addr <string> The URL or the IP address to run te![img.png](img.png)sts against [REQUIRED] -o, --out <string> The type of the output, either json or plaintext [Default: plaintext] -c <bool> Run all the tests concurrently. [Default: false] -h, --help Show this message and exit.
Contributing
All kinds of Pull Requests and Feature Requests are welcomed!
Licence
dstp's source code is licenced under the MIT License.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK