Add file timestamps

This commit is contained in:
2022-01-26 08:49:54 +10:30
parent 1026cc5dd9
commit 80d23b514c
3 changed files with 13 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ import (
"errors"
"io"
"net"
"time"
log "github.com/sirupsen/logrus"
@@ -226,8 +227,9 @@ type PacketReceiveDataNext struct {
}
type PacketListData struct {
Id uint32
Filename string
FileSize uint32
Kind string
Id uint32
Filename string
FileSize uint32
Timestamp time.Time
Kind string
}