ソースを参照

reduce size of TransferType

Darien Raymond 7 年 前
コミット
61a1cce972
1 ファイル変更1 行追加1 行削除
  1. 1 1
      common/protocol/payload.go

+ 1 - 1
common/protocol/payload.go

@@ -1,6 +1,6 @@
 package protocol
 
-type TransferType int
+type TransferType byte
 
 const (
 	TransferTypeStream TransferType = 0