{"modulePath":"github.com/laincloud/beats","version":"v1.0.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package decoder\n\n## Types\n\n```go\ntype DecoderStruct struct {\n\tParser *gopacket.DecodingLayerParser\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewDecoder(datalink layers.LinkType, tcp tcp.Processor, udp udp.Processor) (*DecoderStruct, error)\n```\nCreates and returns a new DecoderStruct.\n\n```go\nfunc (decoder *DecoderStruct) DecodePacketData(data []byte, ci *gopacket.CaptureInfo)\n```\n\n","path":"github.com/laincloud/beats/decoder","name":"decoder","synopsis":"","isRedistributable":true}
