智能DNS支持自定义端口

This commit is contained in:
刘祥超
2022-07-27 16:56:32 +08:00
parent f6b3a0b829
commit 262dcf0c8d
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)
}