purpose

package
v0.0.0-...-c0ddbc9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Lack of explicitly namespaced enums in Go mean we simply hide this in another package, instead

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpPurposeSpecifications

func DumpPurposeSpecifications() []string

Types

type PurposeSpecification

type PurposeSpecification int
const (
	CoreFunction PurposeSpecification
	ContractedService
	Delivery
	ContactRequested
	PersonalizedExperience
	Marketing
	MarketingThirdParties
	SharingForDelivery
	SharingForMarketing
	ThirdPartySharingForCoreFunction
	ThirdPartySharingForOthers
	LegallyRequiredDataRetention
	RequiredByLawEnforcementOrGovernment
	ProtectingYourHealth
	ProtectingOurInterests
	ImprovePerformance
)

func PurposeSpecificationFromString

func PurposeSpecificationFromString(purposeStr string) PurposeSpecification

func (PurposeSpecification) Description

func (p PurposeSpecification) Description() string

func (PurposeSpecification) MarshalJSON

func (p PurposeSpecification) MarshalJSON() ([]byte, error)

func (PurposeSpecification) Name

func (p PurposeSpecification) Name() string

func (PurposeSpecification) Number

func (p PurposeSpecification) Number() int

func (PurposeSpecification) Purpose

func (p PurposeSpecification) Purpose() string

func (PurposeSpecification) PurposeWithPrefix

func (p PurposeSpecification) PurposeWithPrefix() string

func (PurposeSpecification) String

func (p PurposeSpecification) String() string

func (*PurposeSpecification) UnmarshalJSON

func (p *PurposeSpecification) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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