From 1630f277b9c9f8e85c9bdb09a323d39e13e797e4 Mon Sep 17 00:00:00 2001 From: Li Zhanhui Date: Tue, 16 May 2017 14:34:56 +0800 Subject: [PATCH] This is to close issue ROCKETMQ-198: Add language code for Go and PHP Thanks to StyleTang --- .../org/apache/rocketmq/remoting/protocol/LanguageCode.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java b/remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java index 669a383e..17ce9190 100644 --- a/remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java +++ b/remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java @@ -26,7 +26,9 @@ public enum LanguageCode { ERLANG((byte) 5), RUBY((byte) 6), OTHER((byte) 7), - HTTP((byte) 8); + HTTP((byte) 8), + GO((byte) 9), + PHP((byte) 10); private byte code; -- GitLab