ipscan

package
v0.0.0-...-b369aa6 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListIPs

func ListIPs(sgs []string)

ListIPs starts scan for users AWS SGs

func ScanSGs

func ScanSGs(api api.API, sgs []string)

ScanSGs starts scan for users AWS SGs

Types

type Request

type Request struct {
	Address []string `json:"address"`
}

Request struct

type Response

type Response struct {
	StartTime  time.Time    `json:"start_time"`
	DetectedBy int          `json:"detected_by"`
	Address    string       `json:"address"`
	Error      api.ApiError `json:"error"`
}

Response result of ipscan request

Jump to

Keyboard shortcuts

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