Versions in this module Expand all Collapse all v0 v0.4.0 Oct 13, 2023 Changes in this version + const ACCESS_REQUEST_ERROR + const DELETION_REQUEST_ERROR + const GET_DOCUMENT_ERROR + const WRITE_BATCH_ERROR + type Client struct + FirestoreClient *firestore.Client + func NewClient(firestoreClient *firestore.Client) *Client + func (pal *Client) ProcessAccessRequest(dataSubjectLocator Locator, dataSubjectID string) (map[string]interface{}, error) + func (pal *Client) ProcessDeletionRequest(dataSubjectLocator Locator, dataSubjectID string) (DeletionResult, error) + type DataNode interface + HandleAccess func(dataSubjectId string, currentDocumentID string) map[string]interface{} + HandleDeletion func(dataSubjectId string) (nodesToTraverse []Locator, deleteNode bool, fieldsToUpdate []firestore.Update) + type DeletionResult struct + NumDocumentsDeleted int + NumDocumentsUpdated int + type Locator struct + CollectionPath []string + DocIDs []string + NewDataNode func() DataNode + Queries []Query + Type LocatorType + type LocatorType string + const Collection + const Document + type Query struct + Op string + Path string + Value interface{}