types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: BSD-2-Clause, MIT, 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 ByIdRequest

type ByIdRequest struct {
	ID uint `json:"id"`
}

type ByNameRequest

type ByNameRequest struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type CachedItem

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

type HttpDownloadRequest struct {
	URL     string      `json:"url"`
	Method  string      `json:"method"`
	Headers []NameValue `json:"headers"`
	Body    string      `json:"body"`
	NoScan  bool        `json:"noscan"`
}

type HttpDownloadResponse

type HttpDownloadResponse struct {
	URL      string      `json:"url"`
	Filename string      `json:"filename"`
	Headers  []NameValue `json:"headers"`
}

type InfectionInfo

type InfectionInfo struct {
	gorm.Model
	Filename       string `json:"filename"`
	OriginalPath   string `json:"originalpath"`
	QuarantinePath string `json:"quarantinepath"`
	VirusName      string `json:"virusname"`
}

type NameValue

type NameValue struct {
	Name  string `json:"Name"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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