ttfb

command module
v0.0.0-...-e697a77 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 12 Imported by: 0

README

ttfb

tool in golang for testing website speed and body & headers search

Description

After using over and over "while curl" loops, I made simple equivalent in go. You don't have to use Web Browser with Debug, curl or some other networking stuff. Just for fun and making life easier ;-)

Instalation
  • go version: 1.14.5
  • get it: go get github.com/Venomen/ttfb
  • install it: go install github.com/Venomen/ttfb
  • link it: ln -s ~/go/bin/ttfb /usr/local/bin/ttfb
Usage
  • run from your ~/go/bin/ttfb or after symlink just ttfb
  • remember to edit your ~/.ttfbEnv file (1st install will copy default conf)
  • config options:

"url" - provide url for testing, with http:// or https://
"search" - you can grep some data in Header & Body from your request (wildcards available)

Functions
  • http client
  • dot .env configuration
  • cli for config options
  • measuring connection speed; time to first byte

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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