Explorar o código

reduce size of TransferType

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
61a1cce972
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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