temporary

package
v0.1336.0-MLPAB2279rem... Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActorTypes = Types{
	None:                        ActorTypeNone,
	Donor:                       ActorTypeDonor,
	Attorney:                    ActorTypeAttorney,
	ReplacementAttorney:         ActorTypeReplacementAttorney,
	TrustCorporation:            ActorTypeTrustCorporation,
	ReplacementTrustCorporation: ActorTypeReplacementTrustCorporation,
	CertificateProvider:         ActorTypeCertificateProvider,
	PersonToNotify:              ActorTypePersonToNotify,
	AuthorisedSignatory:         ActorTypeAuthorisedSignatory,
	IndependentWitness:          ActorTypeIndependentWitness,
	Voucher:                     ActorTypeVoucher,
}

Functions

This section is empty.

Types

type ActorType

type ActorType uint8
const (
	ActorTypeNone ActorType = iota
	ActorTypeDonor
	ActorTypeAttorney
	ActorTypeReplacementAttorney
	ActorTypeCertificateProvider
	ActorTypePersonToNotify
	ActorTypeAuthorisedSignatory
	ActorTypeIndependentWitness
	ActorTypeTrustCorporation
	ActorTypeReplacementTrustCorporation
	ActorTypeVoucher
)

func (ActorType) String

func (t ActorType) String() string
type LpaLink struct {
	// PK is the same as the PK for the LPA
	PK dynamo.LpaKeyType
	// SK is the subKey for the current user
	SK dynamo.SubKeyType
	// DonorKey is the donorKey for the donor
	DonorKey dynamo.LpaOwnerKeyType
	// ActorType is the type for the current user
	ActorType ActorType
	// UpdatedAt is set to allow this data to be queried from SKUpdatedAtIndex
	UpdatedAt time.Time
}

An LpaLink is used to join an actor to an LPA.

func (LpaLink) UserSub

func (l LpaLink) UserSub() string

type Types

type Types struct {
	None                        ActorType
	Donor                       ActorType
	Attorney                    ActorType
	ReplacementAttorney         ActorType
	TrustCorporation            ActorType
	ReplacementTrustCorporation ActorType
	CertificateProvider         ActorType
	PersonToNotify              ActorType
	AuthorisedSignatory         ActorType
	IndependentWitness          ActorType
	Voucher                     ActorType
}

Jump to

Keyboard shortcuts

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