walkhttp

command module
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: MIT Imports: 4 Imported by: 0

README

walkhttp

A CLI tool to proxy HTTP requests for debugging.

ci

Usage

$ walkhttp -h
A CLI tool to proxy HTTP requests for debugging.

USAGE:
  walkhttp [flags] [arguments...]

FLAGS:
  --origin value  Origin URL (default: https://example.com)
  --port value    Port (default: 3000)
  --prompt        Start prompt and call a HTTP request (default: false)
  --help, -h      show help
  --version, -v   print the version

$ walkhttp --origin https://example.com
┌─────────────────────────────────────────────────────────────────
│ walkhttp
│
│ --origin https://example.com
│ --port   3000
│
│ Web console: http://localhost:3000/_
└─────────────────────────────────────────────────────────────────

 Open the web console and try `curl http://localhost:3000/`

モチベーション

  • api gateway チックなもの
  • リバースプロキシ的な立ち位置でリクエストを中継する
  • リクエスト/レスポンスをトレースして、いろいろ確認できる
  • あくまで開発用のもの。めっちゃ雑に実装している

キャプチャ

ctlweb ctlweb-history

Future plan

  • diff

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
repository
Package repository is a generated GoMock package.
Package repository is a generated GoMock package.

Jump to

Keyboard shortcuts

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