database

package
v0.0.0-...-6a6986e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Engine *xorm.Engine

Functions

func CreateDBEngine

func CreateDBEngine() error

Types

type FileListResponse

type FileListResponse struct {
	FileName    string `json:"fileName"`
	FileSize    int64  `json:"fileSize"`
	DownloadUrl string `json:"downloadUrl"`
}

type FileTracking

type FileTracking struct {
	Id         int64  `json:"-"`
	FolderHash string `json:"-"`
	IsDeleted  bool   `json:"-"`

	IsHidden      bool      `json:"isHidden"`
	FolderId      string    `json:"folderId"`
	FileCount     int       `json:"fileCount"`
	DownloadCount int64     `json:"downloadCount"`
	DownloadLimit int64     `json:"downloadLimit"`
	UploadDate    time.Time `json:"uploadDate"`
	ExpireTime    time.Time `json:"expireTime"`

	Files []FileListResponse `json:"files"`
}

Jump to

Keyboard shortcuts

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