genericapipath

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsafeUpstreamURL = errors.New("unsafe upstream URL")

Functions

This section is empty.

Types

type Builder

type Builder struct{}

Builder constructs an upstream URL without allowing route-controlled path input to replace the configured scheme or authority.

func (Builder) Build

func (Builder) Build(baseURL, upstreamPath, subpath, rawQuery string) (*url.URL, error)

Jump to

Keyboard shortcuts

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