Documentation ¶
Overview ¶
Package file provides file backend abstraction.
Index ¶
Constants ¶
View Source
const (
// DefaultUploadsRoot is a static content endpoin URL.
DefaultUploadsRoot = "/uploads"
)
Variables ¶
View Source
var Backend fileBackend
Backend equals to current file backend.
Functions ¶
func SourcePath ¶
SourcePath returns URL to file source.
func StartBackend ¶
StartBackend initializes file backend.
Types ¶
Click to show internal directories.
Click to hide internal directories.