seven

package
v1.15.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser is a parser for L7 payloads

func New

func New(
	log logrus.FieldLogger,
	dnsGetter getters.DNSGetter,
	ipGetter getters.IPGetter,
	serviceGetter getters.ServiceGetter,
	endpointGetter getters.EndpointGetter,
	opts ...options.Option,
) (*Parser, error)

New returns a new L7 parser

func (*Parser) Decode

func (p *Parser) Decode(r *accesslog.LogRecord, decoded *flowpb.Flow) error

Decode decodes the data from 'payload' into 'decoded'

Jump to

Keyboard shortcuts

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