智能DNS支持自定义端口

This commit is contained in:
GoEdgeLab
2022-07-27 16:56:32 +08:00
parent ec28026708
commit f0080fbf6e
9 changed files with 4285 additions and 3187 deletions

View File

@@ -26,7 +26,7 @@ func (this *TCPProtocolConfig) Init() error {
return nil
}
// 转换为JSON
// AsJSON 转换为JSON
func (this *TCPProtocolConfig) AsJSON() ([]byte, error) {
return json.Marshal(this)
}