Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Success ... Success = 0 // UnknownFailure ... UnknownFailure = 1 // UnexpectedOperation ... UnexpectedOperation = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Enabled bool `json:"enabled" yaml:"enabled" xml:"enabled"` Mongo *mongo.Config `json:"mongo" yaml:"mongo" xml:"mongo"` Port int `json:"port" yaml:"port" xml:"port"` }
Config ...
type Result ¶
type Result struct { Status int `json:"status,omitempty"` Error string `json:"error,omitempty"` Filter cve.DougCVE `json:"filter,omitempty"` CVES []cve.DougCVE `json:"cves,omitempty"` }
Result ...
Click to show internal directories.
Click to hide internal directories.