Parcourir la source

reduce size of TransferType

Darien Raymond il y a 7 ans
Parent
commit
61a1cce972
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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