Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LayerTypeKafka = gopacket.RegisterLayerType( 9092, gopacket.LayerTypeMetadata{ Name: "Kafka", Decoder: gopacket.DecodeFunc(decodeKafkaLayer), }, )
Functions ¶
This section is empty.
Types ¶
type KafkaLayer ¶
type KafkaLayer struct { ApiKey uint16 // contains filtered or unexported fields }
func (KafkaLayer) LayerContents ¶
func (l KafkaLayer) LayerContents() []byte
TODO return request meta info.
func (KafkaLayer) LayerPayload ¶
func (l KafkaLayer) LayerPayload() []byte
LayerPayload returns the subsequent layer built on top of our layer or raw payload.
func (KafkaLayer) LayerType ¶
func (l KafkaLayer) LayerType() gopacket.LayerType
Click to show internal directories.
Click to hide internal directories.