Back to godoc.org

Package views

v0.0.0-...-3b51e41
Latest Go to latest

The highest tagged major version is .

Published: May 28, 2019 | License: MIT | Module: github.com/Depado/goploader

Index

func Create

func Create(c *gin.Context)

Create handles the multipart form upload and creates a file

func CreateC

func CreateC(c *gin.Context)

CreateC handles the multipart form upload and creates an encrypted file

func HandleRequest

func HandleRequest(c *gin.Context, isView bool)

HandleRequest responds to a View or Head request for unencrypted files

func Head(c *gin.Context)

Head handles the head request

func HeadC

func HeadC(c *gin.Context)

HeadC handles the head request for an encryptd file

func Index

func Index(c *gin.Context)

Index handles the main page

func SimpleIndex

func SimpleIndex(c *gin.Context)

SimpleIndex is a simple rendering for webapp purpose

func View

func View(c *gin.Context)

View handles the file views

func ViewC

func ViewC(c *gin.Context)

ViewC handles the file views for encrypted files

func ViewCCode

func ViewCCode(c *gin.Context)

ViewCCode allows to see the file with syntax highliting and extra options

func ViewCode

func ViewCode(c *gin.Context)

ViewCode allows to see the file with syntax highliting and extra options

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier