@celo/identity"offchain/storage-writers"GoogleStorageWriter

Class: GoogleStorageWriter

Hierarchy

LocalStorageWriter

GoogleStorageWriter

Index

Constructors

Properties

Methods

Constructors

constructor

+ new GoogleStorageWriter(local: string, bucket: string): GoogleStorageWriter

Overrides LocalStorageWriter.constructor

Defined in packages/sdk/identity/src/offchain/storage-writers.ts:38

Parameters:

Name Type
local string
bucket string

Returns: GoogleStorageWriter

Properties

Readonly local

local: string

Defined in packages/sdk/identity/src/offchain/storage-writers.ts:40


Readonly root

root: string

Inherited from LocalStorageWriter.root

Defined in packages/sdk/identity/src/offchain/storage-writers.ts:11

Methods

write

write(data: Buffer, dataPath: string): Promise‹void›

Overrides LocalStorageWriter.write

Defined in packages/sdk/identity/src/offchain/storage-writers.ts:45

Parameters:

Name Type
data Buffer
dataPath string

Returns: Promise‹void›