proxy

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package proxy routes *.localhost requests to locally deployed apps.

Index

Constants

View Source
const DefaultAddr = ":8080"

Variables

This section is empty.

Functions

func Serve

func Serve(addr string) error

func URL

func URL(name string) string

Types

type Proxy added in v0.1.3

type Proxy struct {
	// contains filtered or unexported fields
}

Proxy serves *.localhost requests, round-robining across each app's replicas. It implements http.Handler.

func New added in v0.1.3

func New() *Proxy

func (*Proxy) ServeHTTP added in v0.1.3

func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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