]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/file_transfer.go
Fix broken io.Reader implementations
[rbdr/mobius] / hotline / file_transfer.go
index ba4a1e1b3f12a621a6c8067bee4d61ca4e56e52c..7c24109e1dfb9e1f70f0938764d2614464ffb634 100644 (file)
@@ -11,11 +11,11 @@ import (
 
 // File transfer types
 const (
-       FileDownload   = 0
-       FileUpload     = 1
-       FolderDownload = 2
-       FolderUpload   = 3
-       bannerDownload = 4
+       FileDownload = iota
+       FileUpload
+       FolderDownload
+       FolderUpload
+       bannerDownload
 )
 
 type FileTransfer struct {