http

command
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 16 Imported by: 0

README

HTTP Proxy Example

Run
go run examples/http/main.go -upstream http://localhost:8080 \
    -insecure-listen-address 127.0.0.1:7777 \
    -enable-jitter=true \
    -jitter-delay 3s \
    -enable-observer=true \
    -enable-backpressure=true \
    -backpressure-queries 'sum(rate(throughput[1m]))' \
    -backpressure-monitoring-url http://localhost:9090 \
    -backpressure-min-window 1 \
    -backpressure-max-window 1000

Ensure the server is listening at http://localhost:7777/healthz

{"ok":true}

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