object

package
v0.0.0-...-a4898d9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataDeletionHandler

type DataDeletionHandler func(namespace, userID string, isPublisherNamespace bool) error

type DataGenerationHandler

type DataGenerationHandler func(namespace, userID string, isPublisherNamespace bool) (*DataGenerationResult, error)

type DataGenerationResult

type DataGenerationResult struct {

	// The DataGenerationHandler implementation should put the data result into this "Data" property.
	// This "Data" property was in form of Map<ModuleId, byte[]>, this allows the DataGenerationHandler
	// implementation to categorized multiple data based on the modules they have.
	//
	// Example:
	//  Map<ModuleId, byte[]> = {
	//    entitlement: entitlementData,
	//    wallet: walletData,
	//    transaction: transactionData
	//  }
	Data map[string][]byte
}

DataGenerationResult contains result from DataGenerationHandler implementation

type DataRestrictionHandler

type DataRestrictionHandler func(namespace, userID string, restrict, isPublisherNamespace bool) error

type PlatformAccountClosureHandler

type PlatformAccountClosureHandler func(platform, platformUserID string, accounts []*pb.AccountInfo) error

Jump to

Keyboard shortcuts

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