Selaa lähdekoodia

reduce size of TransferType

Darien Raymond 7 vuotta sitten
vanhempi
commit
61a1cce972
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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