Skip to content
This repository was archived by the owner on Sep 5, 2026. It is now read-only.

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived (September 2026). A 163-line Go CLI from 2023: a CSV of endpoints, a goroutine pool, a response-time threshold. Its own test file said "Let's come back to testing later"; nothing came back. hey or httpstat cover this ground better.

1. Kronos

Kronos is a simple command-line utility to test the response time of HTTP APIs. You can specify the API method, URL, headers, request body, and the acceptable response time threshold, and Kronos will make the HTTP request and report whether the response time was within the threshold.

1.1. Usage

Build kronos using the following command

go build -o kronos main.go

Ask for available flags

./kronos -help

Get the program running ./kronos -csv api_info.csv OR ./kronos -csv api_info.csv -threshold 3

Sample response

Request to https://reqbin.com/echo/post/json completed in 152.280167ms
Request to https://api.ipify.org took too long (1.251576584s)

1.2. Contributing

If you find a bug or have a feature request, please open an issue on GitHub. Pull requests are also welcome.

1.3. To improve

  • Implement concurrency
  • Error handling
  • User feedback
  • Testing (files will be added properly later)

About

Archived. 2023 Go learning exercise: API response-time checker.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors

Languages