codename-sendaround/file_info.go

9 lines
227 B
Go

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"`
}