mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Changed DeleteScannedAssets to work correct and added db tag
This commit is contained in:
parent
04e1fb26c9
commit
7515307cce
2 changed files with 11 additions and 11 deletions
10
pkg/scan.go
10
pkg/scan.go
|
|
@ -16,11 +16,11 @@ import (
|
|||
)
|
||||
|
||||
type RemoteAsset struct {
|
||||
Host string `json:"host"`
|
||||
Port int `json:"port"`
|
||||
Protocol string `json:"protocol"`
|
||||
State bool `json:"state"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Host string `db:"host" json:"host"`
|
||||
Port int `db:"port" json:"port"`
|
||||
Protocol string `db:"protocol" json:"protocol"`
|
||||
State bool `db:"state" json:"state"`
|
||||
Timestamp time.Time `db:"timestamp" json:"timestamp"`
|
||||
}
|
||||
|
||||
// ScanParams is a collection of commom parameters passed to the CLI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue