mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-06 20:15:50 +08:00
实现基本的反向代理
This commit is contained in:
@@ -72,6 +72,11 @@ func (this Protocol) Primary() Protocol {
|
||||
}
|
||||
}
|
||||
|
||||
// Scheme
|
||||
func (this Protocol) Scheme() string {
|
||||
return string(this)
|
||||
}
|
||||
|
||||
// 转换为字符串
|
||||
func (this Protocol) String() string {
|
||||
return string(this)
|
||||
|
||||
Reference in New Issue
Block a user