reverse_proxy

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReverseProxyHandle

func ReverseProxyHandle(path string, option ReverseProxyOptions) echo.MiddlewareFunc

ReverseProxyHandle TODO: 使用 echo 中间件实现反向代理

Types

type ReverseProxyOptions

type ReverseProxyOptions struct {
	TargetHost  string
	TargetPort  string
	RewritePath string
}

ReverseProxyOptions 用于配置反向代理选项

Jump to

Keyboard shortcuts

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