codename-sendaround/file_info.go

9 lines
227 B
Go
Raw Normal View History

2019-07-11 12:00:45 +00:00
package sendaround
// FileInfo describes information about a file to be transferred peer-to-peer.
type FileInfo struct {
FileName string `json:"fileName"`
Length uint64 `json:"length"`
MimeType string `json:"mimeType"`
}