visit

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func View

func View(pgRepo repository.Repository) func(c *gin.Context)

func ViewProtected

func ViewProtected(repo repository.Repository) func(c *gin.Context)

Types

type FileOpenParam

type FileOpenParam struct {
	Password     string `json:"downloadPassword" binding:"omitempty"`
	UserPassword string `json:"accountPassword" binding:"omitempty"`
}

type FileResponse

type FileResponse struct {
	FileId   uint64               `json:"fileId"`
	FileName string               `json:"fileName"`
	FileType models.PreviewAsType `json:"fileType"`
	FileSize int64                `json:"fileSize"`
}

Jump to

Keyboard shortcuts

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