package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 5, 2022
License: BSD-2-Clause, MIT, MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ByIdRequest struct {
ID uint `json:"id"`
}
type ByNameRequest struct {
Name string `json:"name"`
Value string `json:"value"`
}
type CachedItem struct {
gorm.Model
Name string `json:"name"`
Filename string `json:"filename"`
Path string `json:"path"`
Approved bool `json:"approved"`
Available bool `json:"available"`
}
type HttpDownloadRequest struct {
URL string `json:"url"`
Method string `json:"method"`
Body string `json:"body"`
NoScan bool `json:"noscan"`
}
type HttpDownloadResponse struct {
URL string `json:"url"`
Filename string `json:"filename"`
}
type InfectionInfo struct {
gorm.Model
Filename string `json:"filename"`
OriginalPath string `json:"originalpath"`
QuarantinePath string `json:"quarantinepath"`
VirusName string `json:"virusname"`
}
type NameValue struct {
Name string `json:"Name"`
Value string `json:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.