util

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PayloadExtractor

type PayloadExtractor struct {
	Manifests        *model.Manifests
	CarKeyLookup     map[string]int
	SessionKeyLookup map[string]int
	MessageKeyLookup map[string]int
}

func NewPayloadExtractor

func NewPayloadExtractor(manifests *model.Manifests) *PayloadExtractor

func (*PayloadExtractor) ExtractCarValue

func (p *PayloadExtractor) ExtractCarValue(
	rawData []interface{}, key string,
) interface{}

func (*PayloadExtractor) ExtractMessageValue

func (p *PayloadExtractor) ExtractMessageValue(
	rawData []interface{}, key string,
) interface{}

func (*PayloadExtractor) ExtractSessionValue

func (p *PayloadExtractor) ExtractSessionValue(
	rawData []interface{}, key string,
) interface{}

func (*PayloadExtractor) HasCarKey

func (p *PayloadExtractor) HasCarKey(key string) bool

Jump to

Keyboard shortcuts

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