oneshot

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: MIT Imports: 21 Imported by: 0

README ¶

Oneshot Development Reverseproxy 💥

Does as it says: one single command to launch a dev reverse proxy.

go run github.com/megakuul/oneshot@latest

[!TIP]
oneshot uses a simple regex router. Each route path segment consists of a regular expression with priority based on order. Most specific route always wins.

(e.g. / => https://myfrontend.com and /api => http://localhost:8000)

(e.g. / => http://localhost:5173 and /v1\..+ => https://mybackend.com)

(e.g. /app-v[1-9]+ => http://localhost:8000 and /app-.+ => https://myprodapp.com)

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
package router contains a simple regex matching http router (not optimized/hardened/etc.).
package router contains a simple regex matching http router (not optimized/hardened/etc.).

Jump to

Keyboard shortcuts

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