storage.go 317 B

123456789101112131415
  1. package storage
  2. import "git.aetherial.dev/aeth/kyoketsu/pkg/scan"
  3. type TopologyDatabaseIO interface {
  4. AddHostToTable(*scan.TcpScanHost) error // Add a host to the hosts table
  5. UpdateHostEntry(string, *scan.TcpScanHost) error //Update a host entry, indexing by its ip address
  6. RemoveHostEntry(string) error
  7. }