goproxy:反向代理身份验证服务器(golang)

时间:2024-04-06 11:02:30
【文件属性】:

文件名称:goproxy:反向代理身份验证服务器(golang)

文件大小:19KB

文件格式:ZIP

更新时间:2024-04-06 11:02:30

api golang gateway reverse-proxy colemanword

Goproxy -导入“ github.com/autom8ter/goproxy” 用法 键入GoProxy type GoProxy struct { } GoProxy是可配置的单目标反向代理HTTP处理程序,与net / http http.Handler接口兼容 func NewGoProxy func NewGoProxy ( config * config. Config ) * GoProxy NewGoProxy使用指定的路径前缀为每个提供的配置注册一个新的反向代理处理程序 func(* GoProxy)ServeHTTP func ( g * GoProxy ) ServeHTTP ( w http. ResponseWriter , r * http. Request )


【文件预览】:
goproxy-master
----.gitignore(24B)
----go.mod(604B)
----gen.go(54B)
----go.sum(13KB)
----proxy.go(968B)
----examples()
--------customers()
----README.md(537B)
----config()
--------config_test.go(580B)
--------gen.go(53B)
--------README.md(703B)
--------config.go(3KB)
----httputil()
--------httputil.go(14KB)
--------gen.go(55B)
--------README.md(3KB)

网友评论