test-server

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

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 13 Imported by: 0

README

Simple HTTP(s) server used for testing

Features

  1. HTTPS server listening on port 5055
  2. HTTP/2 cleartext listening on port 5050.

Endpoints

  1. \ping: simple endpoint to check if the server is up and running
  2. \request?size=<int>: returns a response with fixed size of bytes in the body. Note: A byte array is allocated per request which means that you can get the server OOM with a big enough size.

Build

go build

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