Documentation ¶
Index ¶
- func Checksum(w http.ResponseWriter, r *http.Request, c *config.Config, i *file.Info) (int, error)
- func Command(w http.ResponseWriter, r *http.Request, c *config.Config, u *config.User) (int, error)
- func Download(w http.ResponseWriter, r *http.Request, c *config.Config, i *file.Info) (int, error)
- func ParseCompleteFile(data map[string]interface{}, filename string, mark rune) ([]byte, error)
- func ParseFrontMatter(data interface{}, front string) ([]byte, error)
- func ParseFrontMatterOnlyFile(data interface{}, filename string) ([]byte, error)
- func PreProccessPUT(w http.ResponseWriter, r *http.Request, c *config.Config, u *config.User) (err error)
- func Search(w http.ResponseWriter, r *http.Request, c *config.Config, u *config.User) (int, error)
- func ServeListing(w http.ResponseWriter, r *http.Request, c *config.Config, u *config.User, ...) (int, error)
- func ServeSingle(w http.ResponseWriter, r *http.Request, c *config.Config, u *config.User, ...) (int, error)
- type Editor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
Download creates an archive in one of the supported formats (zip, tar, tar.gz or tar.bz2) and sends it to be downloaded.
func ParseCompleteFile ¶
ParseCompleteFile parses a complete file
func ParseFrontMatter ¶
ParseFrontMatter is the frontmatter parser
func ParseFrontMatterOnlyFile ¶
ParseFrontMatterOnlyFile parses a frontmatter only file
func PreProccessPUT ¶
func PreProccessPUT( w http.ResponseWriter, r *http.Request, c *config.Config, u *config.User, ) (err error)
PreProccessPUT is used to update a file that was edited
Types ¶
Click to show internal directories.
Click to hide internal directories.