vendorconsent

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(data []byte) (api.VendorConsents, error)

Parse method is the equivalent of call tcf1.Parse(...)

func ParseString added in v0.6.0

func ParseString(consent string) (api.VendorConsents, error)

ParseString parses a Raw (unpadded) base64 URL encoded string.

func ParseVersion added in v0.8.0

func ParseVersion(decodedConsent []byte) (uint8, error)

ParseVersion parses version from base64-decoded consent string

Types

type VendorConsents

type VendorConsents interface {
	api.VendorConsents
}

VendorConsents old interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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