MCPcopy Create free account

hub / github.com/dhn/spk / functions

Functions35 in github.com/dhn/spk

↓ 7 callersFunctionGetHTTPRequest
GET HTTP wrapper
utils/requests.go:17
↓ 3 callersFunctionRipeToCIDR
(result string)
utils/cidr.go:365
↓ 3 callersFunctionipNetToRange
(ipNet net.IPNet)
utils/cidr.go:28
↓ 2 callersFunctionpartitionCIDR
partitionCIDR returns a list of IP Networks partitioned upon excludeCIDR. The first list contains the networks to the left of the excludeCIDR in the p
utils/cidr.go:240
↓ 1 callersFunctionCheckNumber
(cidr string)
utils/utils.go:65
↓ 1 callersFunctionGetAPNICData
GetAPNICData function returns all netranges found in the APNIC database
sources/apnic.go:26
↓ 1 callersFunctionGetARINData
GetARINData function returns all netranges based on the given organization name
sources/arin.go:51
↓ 1 callersFunctionGetBGPData
GetBGPData function returns all netranges based on the given organization name
sources/bgpview.go:29
↓ 1 callersFunctionGetBGPToolsData
GetBGPToolsData function returns all netranges based on the given organization name
sources/bgptools.go:19
↓ 1 callersFunctionGetNextIP
GetNextIP returns the next IP from the given IP address. If the given IP is the last IP of a v4 or v6 range, the same IP is returned.
utils/cidr.go:85
↓ 1 callersFunctionGetRipeData
GetRipeData function returns all netranges found in the RIPE database
sources/ripe.go:35
↓ 1 callersFunctionGetSPKData
GetSPKData function returns all netranges based on the given organization name
sources/spk.go:27
↓ 1 callersFunctionMergeChannels
Merge multiple channels from type Result
utils/utils.go:44
↓ 1 callersFunctionParseOptions
ParseOptions parses the command line flags provided by a user
utils/options.go:28
↓ 1 callersFunctionPostHTTPRequest
POST HTTP wrapper
utils/requests.go:42
↓ 1 callersFunctionPrintResults
Print results based on the given parameters
utils/utils.go:15
↓ 1 callersFunctionRemoveDuplicates
Remove duplicates from a channel and return a channel from type Result
utils/utils.go:26
↓ 1 callersFunctionShowBanner
showBanner is used to show the banner to the user
utils/banner.go:23
↓ 1 callersFunctionWhois
Get the net-ranges based on the "descr" field in the whois response
runner/runner.go:13
↓ 1 callersFunctionWriteJSON
Print results as JSON
utils/output.go:21
↓ 1 callersMethodconfigureOutput
configureOutput configures the output on the screen
utils/options.go:71
↓ 1 callersFunctioncreateSpanningCIDR
(r netWithRange)
utils/cidr.go:114
↓ 1 callersFunctiongetAPNICDData
Send a HTTP request and parse the JSON response
sources/apnic.go:39
↓ 1 callersFunctiongetARINCIDR
(sourceURL string)
sources/arin.go:84
↓ 1 callersFunctiongetARINData
Send a HTTP request and parse the HTML response
sources/arin.go:63
↓ 1 callersFunctiongetBGPToolsData
Send a HTTP request and parse the HTML response
sources/bgptools.go:31
↓ 1 callersFunctiongetBGPViewData
Send a HTTP request and parse the JSON response
sources/bgpview.go:42
↓ 1 callersFunctiongetEntries
Receive the list of entries from the JSON object
sources/ripe.go:74
↓ 1 callersFunctiongetPreviousIP
(ip net.IP)
utils/cidr.go:53
↓ 1 callersFunctiongetRipeDBData
Send a HTTP request and parse the JSON response
sources/ripe.go:48
↓ 1 callersFunctiongetSPKData
Send a HTTP request and parse the JSON response
sources/spk.go:40
↓ 1 callersFunctionhasStdin
()
utils/options.go:58
↓ 1 callersFunctionrangeToCIDRs
rangeToCIDRs converts the range of IPs covered by firstIP and lastIP to a list of CIDRs that contains all of the IPs covered by the range.
utils/cidr.go:178
↓ 1 callersMethodvalidateOptions
validateOptions validates the configuration options passed
utils/options.go:78
Functionmain
()
spk.go:12