structures

package
v0.0.0-...-b86da1b Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Id             int       `json:"id" sql:"id"`
	FileName       string    `json:"fileName" sql:"fileName"`
	LastDownloaded time.Time `json:"lastDownloaded" sql:"lastDownloaded"`
	NbDownload     int       `json:"nbDownload" sql:"nbDownload"`
	FileSize       int       `json:"fileSize" sql:"fileSize"`
	Version        string
}

type FileLocation

type FileLocation struct {
	Id          int    `json:"id" sql:"id"`
	FileId      int    `json:"fileId" sql:"fileId"`
	FilePackage string `json:"filePackage" sql:"filePackage"`
}

type Metric

type Metric struct {
	Name  string
	Help  string
	Value string
}

type Statistics

type Statistics struct {
	SavedBytes      int `sql:"savedBytes"`
	NbFiles         int `sql:"nbFiles"`
	TotalSizeOnDisk int `sql:"totalSizeOnDisk"`
}

Jump to

Keyboard shortcuts

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