httplistener

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 10 Imported by: 0

README

HTTP Listener

The tool is a simple HTTP listener that listens for incoming HTTP requests and prints the request details to the console. Useful for testing webhooks and other HTTP requests locally. Combined with ngrok, it can be used to expose a local server to the internet.

Installation

go install github.com/PumpkinSeed/httplistener@latest

Usage

httplistener [flags]
Flags
  • host: The host to listen on (default: :8177)
  • output: The output format, options: terminal, terminal-json, file, file-json (default: terminal)
  • filepath: The path to the file in case of file output

You can set the host also with an environment variable:

HL_HOST=:8000 httplistener

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