httpclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package httpclient exposes a http server that makes benchttp API available through http calls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFreePort

func FindFreePort() (string, error)

FindFreePort returns an available port as a string or the first non-nil error occurring in the process.

func ListenAndServe

func ListenAndServe(port string) error

ListenAndServe listen to the given port and serves routes to run and stream a benchttp benchmark.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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