visit

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func View

func View(pgRepo *pg.RepositoryPostgres) func(c *gin.Context)

func ViewProtected

func ViewProtected(pgRepo *pg.RepositoryPostgres) 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   string               `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