Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDataFromStdin ¶
func ReadNameFromStdin ¶
Types ¶
type File ¶
type File struct { ID int `db:"id"` Metadata FileMetadata Status string `db:"status"` Data []byte `db:"data"` }
func (*File) Deserialize ¶
type FileMetadata ¶
type FileMetadata struct { Name string `db:"filename"` Extension string `db:"extension"` Size int `db:"filesize"` }
func NewFileMetadata ¶
func NewFileMetadata(fullname string) FileMetadata
func (*FileMetadata) Split ¶
func (metadata *FileMetadata) Split()
Click to show internal directories.
Click to hide internal directories.