models

package
v0.0.0-...-aba3f8a Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	Code      int `json:"response_code"`
	Positives int
	Total     int
	Scans     map[string]ScanResult
}

Report represents the /report response

func (*Report) Show

func (m *Report) Show()

Show show the data inside a table

type Scan

type Scan struct {
	ID       string `json:"scan_id"`
	Resource string
	Code     int    `json:"response_code"`
	Message  string `json:"verbose_msg"`
}

Scan represents a scan api response

type ScanResult

type ScanResult struct {
	Detected bool
	Version  string
	Result   string
}

ScanResult represents a scan of an antivitus

Jump to

Keyboard shortcuts

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