aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_transfer.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-16 16:03:54 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-16 16:05:25 -0700
commit0ed5132769e88cb385b5240986b706430f0ccd72 (patch)
treebd622161546d9db3293ba69afc9646bcdb24b2f4 /hotline/file_transfer.go
parentf6f1d88969e12eadb7013397cdad3c4c5625988c (diff)
Fix broken io.Reader implementations
Diffstat (limited to 'hotline/file_transfer.go')
-rw-r--r--hotline/file_transfer.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/hotline/file_transfer.go b/hotline/file_transfer.go
index ba4a1e1..7c24109 100644
--- a/hotline/file_transfer.go
+++ b/hotline/file_transfer.go
@@ -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 {