Browse Source

reduce size of TransferType

Darien Raymond 7 năm trước cách đây
mục cha
commit
61a1cce972
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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