Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultCMPVendorList = "https://cmplist.consensu.org/v2/cmp-list.json"
)
Variables ¶
View Source
var (
ValidCMPs []int
)
Functions ¶
This section is empty.
Types ¶
type Consent ¶
type Consent struct{}
func (*Consent) IsCMPListLoaded ¶
IsCMPListLoaded returns if the list of valid CMPs was loaded or not.
type Loader ¶
Loader is the type that contains the logic to load and parse a CMP JSON list.
func (*Loader) LoadIDs ¶
LoadIDs loads the list of vendor CMP ids globally so we can reuse it with subsequent calls.
Click to show internal directories.
Click to hide internal directories.