proxy

package
v0.0.0-...-7c99e32 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProxy

func BuildProxy(route *Route) http.Handler

BuildProxy -

Types

type Route

type Route struct {
	Name   string `yaml:"name,omitempty"`
	Host   string `yaml:"host,omitempty"`
	Scheme string `yaml:"scheme" default:"http"`
}

Route -

func (*Route) UnmarshalYAML

func (r *Route) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML - yaml interface

Jump to

Keyboard shortcuts

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