mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-01 19:00:35 +08:00
智能DNS支持自定义端口
This commit is contained in:
@@ -26,7 +26,7 @@ func (this *TCPProtocolConfig) Init() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 转换为JSON
|
||||
// AsJSON 转换为JSON
|
||||
func (this *TCPProtocolConfig) AsJSON() ([]byte, error) {
|
||||
return json.Marshal(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user