Documentation ¶
Overview ¶
Package disk provides source storage that stores files on disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { Dir string // Directory to store files in. // contains filtered or unexported fields }
Storage is a local source repository that stores files on disk.
func (*Storage) ListenAndServe ¶
ListenAndServe starts a HTTP server on an OS-assigned port and starts accepting uploads.
Click to show internal directories.
Click to hide internal directories.