Documentation ¶
Index ¶
- Constants
- Variables
- type Redis
- func (redis *Redis) GapInStream(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
- func (redis *Redis) Init(test_mode bool, results chan common.MapStr) error
- func (redis *Redis) InitDefaults()
- func (redis *Redis) Parse(pkt *protos.Packet, tcptuple *common.TcpTuple, dir uint8, ...) protos.ProtocolData
- func (redis *Redis) ReceivedFin(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
- type RedisMessage
- type RedisStream
- type RedisTransaction
Constants ¶
View Source
const ( TransactionsHashSize = 2 ^ 16 TransactionTimeout = 10 * 1e9 )
Variables ¶
View Source
var RedisCommands = map[string]struct{}{}/* 158 elements not displayed */
Keep sorted for future command addition
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { // config Send_request bool Send_response bool // contains filtered or unexported fields }
func (*Redis) GapInStream ¶
func (redis *Redis) GapInStream(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
func (*Redis) InitDefaults ¶
func (redis *Redis) InitDefaults()
func (*Redis) Parse ¶
func (redis *Redis) Parse(pkt *protos.Packet, tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
func (*Redis) ReceivedFin ¶
func (redis *Redis) ReceivedFin(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
type RedisMessage ¶
type RedisStream ¶
type RedisStream struct {
// contains filtered or unexported fields
}
func (*RedisStream) PrepareForNewMessage ¶
func (stream *RedisStream) PrepareForNewMessage()
type RedisTransaction ¶
type RedisTransaction struct { Type string Src common.Endpoint Dst common.Endpoint ResponseTime int32 Ts int64 JsTs time.Time Method string Path string Query string IsError bool BytesOut int BytesIn int Redis common.MapStr Request_raw string Response_raw string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.