corelibs

package
v0.0.0-...-6333cb0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendToQueue

func SendToQueue(metrics []HTTPMetric, queueURL string) error

SendToQueue send the metrics information to the SQS Queue URL

Types

type HTTPMetric

type HTTPMetric struct {
	// contains filtered or unexported fields
}

HTTPMetric is the metric we collect from target

func GetMetrics

func GetMetrics(target string, count int, interval int, verbose bool) []HTTPMetric

GetMetrics call getBodyResponse and return un array of the HTTPMetric type **DONT DO SLICE HERE, AND NO COUNT**

Jump to

Keyboard shortcuts

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