Documentation
¶
Index ¶
- type BinaryKey
- type DataType
- type DataTypeDefinition
- type Definition
- type DictData
- type EntryUpdate
- type FreqData
- type IPv4AddressKey
- type IPv6AddressKey
- type KeyType
- type MapData
- type MapKey
- type SignedIntegerData
- type SignedIntegerKey
- type StringKey
- type UnsignedIntegerData
- type UnsignedLongLongData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataType ¶
type DataType int
const ( // DataTypeServerId represents the server ID to use with this // represents a stream if > 0 DataTypeServerId DataType = iota // DataTypeGPT0 represents a General Purpose Flag 0. DataTypeGPT0 // DataTypeGPC0 represents a General Purpose Counter 0 (unsigned 32-bit integer) DataTypeGPC0 // DataTypeGPC0Rate represents a General Purpose Counter 0's event rate DataTypeGPC0Rate // DataTypeConnectionsCounter represents a cumulated number of connections DataTypeConnectionsCounter // DataTypeConnectionRate represents an incoming connection rate DataTypeConnectionRate // DataTypeNumberOfCurrentConnections represents a concurrent number of connections DataTypeNumberOfCurrentConnections // DataTypeSessionsCounter represents a cumulated number of sessions (accepted connections) DataTypeSessionsCounter // DataTypeSessionRate represents an accepted sessions rate DataTypeSessionRate // DataTypeHttpRequestsCounter represents a cumulated number of incoming HTTP requests DataTypeHttpRequestsCounter // DataTypeHttpRequestsRate represents an incoming HTTP request rate DataTypeHttpRequestsRate // DataTypeErrorsCounter represents a cumulated number of HTTP requests errors (4xx) DataTypeErrorsCounter // DataTypeErrorsRate represents an HTTP request error rate DataTypeErrorsRate // DataTypeBytesInCounter represents a cumulated bytes count from client to servers DataTypeBytesInCounter // DataTypeBytesInRate represents a bytes rate from client to servers DataTypeBytesInRate // DataTypeBytesOutCounter represents a cumulated bytes count from servers to client DataTypeBytesOutCounter // DataTypeBytesOutRate represents a bytes rate from servers to client DataTypeBytesOutRate // DataTypeGPC1 represents a General Purpose Counter 1 (unsigned 32-bit integer) DataTypeGPC1 // DataTypeGPC1Rate represents a General Purpose Counter 1's event rate DataTypeGPC1Rate // DataTypeServerKey represents the server key DataTypeServerKey // DataTypeHttpFailCounter represents a cumulated number of HTTP server failures DataTypeHttpFailCounter // DataTypeHttpFailRate represents an HTTP server failures rate DataTypeHttpFailRate // DataTypeGPTArray represents an array of gpt DataTypeGPTArray // DataTypeGPCArray represents an array of gpc DataTypeGPCArray // DataTypeGPCRateArray represents an array of gpc_rate DataTypeGPCRateArray // DataTypeGlitchCounter represents a cumulated number of front glitches DataTypeGlitchCounter // DataTypeGlitchRate represents a rate of front glitches DataTypeGlitchRate )
The types of extra data we can store in a stick table
type DataTypeDefinition ¶
type Definition ¶
type EntryUpdate ¶
type EntryUpdate struct {
StickTable *Definition
Key MapKey
Data []MapData
WithLocalUpdateID bool
LocalUpdateID uint32
WithExpiry bool
Expiry uint32
}
func (*EntryUpdate) String ¶
func (e *EntryUpdate) String() string
type IPv4AddressKey ¶
func (*IPv4AddressKey) Marshal ¶
func (v *IPv4AddressKey) Marshal(b []byte, keySize uint64) (int, error)
func (*IPv4AddressKey) String ¶
func (v *IPv4AddressKey) String() string
type IPv6AddressKey ¶
func (*IPv6AddressKey) Marshal ¶
func (v *IPv6AddressKey) Marshal(b []byte, keySize uint64) (int, error)
func (*IPv6AddressKey) String ¶
func (v *IPv6AddressKey) String() string
type KeyType ¶
type KeyType int
type SignedIntegerData ¶
type SignedIntegerData int32
func (*SignedIntegerData) String ¶
func (v *SignedIntegerData) String() string
type SignedIntegerKey ¶
type SignedIntegerKey int32
func (*SignedIntegerKey) Marshal ¶
func (v *SignedIntegerKey) Marshal(b []byte, keySize uint64) (int, error)
func (*SignedIntegerKey) String ¶
func (v *SignedIntegerKey) String() string
type UnsignedIntegerData ¶
type UnsignedIntegerData uint32
func (*UnsignedIntegerData) String ¶
func (v *UnsignedIntegerData) String() string
type UnsignedLongLongData ¶
type UnsignedLongLongData uint64
func (*UnsignedLongLongData) Marshal ¶
func (v *UnsignedLongLongData) Marshal(b []byte) (int, error)
func (*UnsignedLongLongData) String ¶
func (v *UnsignedLongLongData) String() string
Click to show internal directories.
Click to hide internal directories.