增加基础正向代理实现
This commit is contained in:
20
proxy/config.go
Normal file
20
proxy/config.go
Normal file
@ -0,0 +1,20 @@
|
||||
// Package proxy ...
|
||||
//
|
||||
// Description : 代理转发的配置
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2021-08-06 3:34 下午
|
||||
package proxy
|
||||
|
||||
// Server 服务器配置
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 3:34 下午 2021/8/6
|
||||
type Server struct {
|
||||
Scheme string // 转发scheme
|
||||
Host string // 服务器地址
|
||||
URI string // 转发接口
|
||||
RewriteHeader map[string]string // 重写header
|
||||
}
|
Reference in New Issue
Block a user