views

package
v0.0.0-...-9c4ed7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL