redis

package
v0.0.0-...-1c2acb4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnTuple

type ConnTuple = struct {
	Saddr_h  uint64
	Saddr_l  uint64
	Daddr_h  uint64
	Daddr_l  uint64
	Sport    uint16
	Dport    uint16
	Netns    uint32
	Pid      uint32
	Metadata uint32
}

type EbpfEvent

type EbpfEvent struct {
	Tuple ConnTuple
	Tx    EbpfTx
}

type EbpfTx

type EbpfTx struct {
	Request_started    uint64
	Response_last_seen uint64
	Tags               uint8
	Pad_cgo_0          [7]byte
}

type Key

type Key struct {
	types.ConnectionKey
}

Key is an identifier for a group of Redis transactions

func NewKey

func NewKey(saddr, daddr util.Address, sport, dport uint16) Key

NewKey creates a new redis key

type RequestStat

type RequestStat struct{}

RequestStat represents a group of Redis transactions.

func (*RequestStat) CombineWith

func (r *RequestStat) CombineWith(*RequestStat)

CombineWith merges the data in 2 RequestStats objects newStats is kept as it is, while the method receiver gets mutated

Directories

Path Synopsis
Package debugging provides debug-friendly representation of internal data structures
Package debugging provides debug-friendly representation of internal data structures

Jump to

Keyboard shortcuts

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