Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(data []byte) (api.VendorConsents, error)
Parse the vendor consent data from the string. This string should *not* be encoded (by base64 or any other encoding). If the data is malformed and cannot be interpreted as a vendor consent string, this will return an error.
func ParseString ¶ added in v0.9.0
func ParseString(consent string) (api.VendorConsents, error)
ParseString parses the TCF 1.x vendor string base64 encoded
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.