浏览代码

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