Browse Source

fix(service/model): apply protocol type to all

Signed-off-by: xjasonlyu <xjasonlyu@gmail.com>
xjasonlyu 1 year ago
parent
commit
f3ced5f2c5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      internal/service/model.go

+ 2 - 2
internal/service/model.go

@@ -21,8 +21,8 @@ type (
 
 const (
 	REST    protocol = "rest"
-	GRPC             = "grpc"
-	MSGPACK          = "msgpack-rpc"
+	GRPC    protocol = "grpc"
+	MSGPACK protocol = "msgpack-rpc"
 )
 
 const (