Documentation ¶
Overview ¶
Lack of explicitly namespaced enums in Go mean we simply hide this in another package, instead
Index ¶
- func DumpPurposeSpecifications() []string
- type PurposeSpecification
- func (p PurposeSpecification) Description() string
- func (p PurposeSpecification) MarshalJSON() ([]byte, error)
- func (p PurposeSpecification) Name() string
- func (p PurposeSpecification) Number() int
- func (p PurposeSpecification) Purpose() string
- func (p PurposeSpecification) PurposeWithPrefix() string
- func (p PurposeSpecification) String() string
- func (p *PurposeSpecification) UnmarshalJSON(b []byte) error
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
Click to show internal directories.
Click to hide internal directories.