layers

package
v0.0.0-...-077b43f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

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