processing

package
v0.0.0-...-0e95a49 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssociatePGPackets

func AssociatePGPackets(combinedQueryMetrics *metrics.QueryMetrics, responses []*ResponsePacket)

AssociatePGPacket will go through each response and match it to a QueryMetric

func NormalizeQuery

func NormalizeQuery(query string) string

normalizeQuery is used on a raw query payload and returns a cleaned up query string.

Types

type ResponsePacket

type ResponsePacket struct {
	DstIP net.IP
	Ack   uint32
	Size  uint64
}

func ExtractPGPackets

func ExtractPGPackets(handle *pcap.Handle) (*metrics.QueryMetrics, []*ResponsePacket)

Jump to

Keyboard shortcuts

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