Documentation ¶
Index ¶
- Variables
- type Mongodb
- func (mongodb *Mongodb) ConnectionTimeout() time.Duration
- func (mongodb *Mongodb) GapInStream(tcptuple *common.TcpTuple, dir uint8, nbytes int, private protos.ProtocolData) (priv protos.ProtocolData, drop bool)
- func (mongodb *Mongodb) GetPorts() []int
- func (mongodb *Mongodb) Init(test_mode bool, results publish.Transactions) error
- func (mongodb *Mongodb) InitDefaults()
- func (mongodb *Mongodb) Parse(pkt *protos.Packet, tcptuple *common.TcpTuple, dir uint8, ...) protos.ProtocolData
- func (mongodb *Mongodb) ReceivedFin(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseCommands = []string{}/* 141 elements not displayed */
List of mongodb user commands (send throuwh a query of the legacy protocol) see http://docs.mongodb.org/manual/reference/command/
This list was obtained by calling db.listCommands() and some grepping. They are compared cased insensitive
Functions ¶
This section is empty.
Types ¶
type Mongodb ¶
type Mongodb struct { // config Ports []int SendRequest bool SendResponse bool MaxDocs int MaxDocLength int // contains filtered or unexported fields }
func (*Mongodb) ConnectionTimeout ¶
func (*Mongodb) GapInStream ¶
func (mongodb *Mongodb) GapInStream(tcptuple *common.TcpTuple, dir uint8, nbytes int, private protos.ProtocolData) (priv protos.ProtocolData, drop bool)
func (*Mongodb) Init ¶
func (mongodb *Mongodb) Init(test_mode bool, results publish.Transactions) error
func (*Mongodb) InitDefaults ¶
func (mongodb *Mongodb) InitDefaults()
func (*Mongodb) Parse ¶
func (mongodb *Mongodb) Parse( pkt *protos.Packet, tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData, ) protos.ProtocolData
func (*Mongodb) ReceivedFin ¶
func (mongodb *Mongodb) ReceivedFin(tcptuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData
Click to show internal directories.
Click to hide internal directories.