-
Notifications
You must be signed in to change notification settings - Fork 1
NodeStorageDBWrapper
ratranqu edited this page Feb 1, 2021
·
1 revision
public struct NodeStorageDBWrapper<Storage: NodeStorageProtocol>: Database where Storage.Node.Key == Data, Storage.Node.Value == Datapublic init(_ storage: Storage)var storage: Storagepublic func has(key: Data) throws -> Boolpublic func get(key: Data) throws -> Data?public func set(key: Data, value: Data) throwspublic func setSync(key: Data, value: Data) throwspublic func delete(key: Data) throwspublic func deleteSync(key: Data) throwspublic func iterator(start: Data, end: Data) throws -> Iteratorpublic func reverseIterator(start: Data, end: Data) throws -> Iteratorpublic func close() throwspublic func makeBatch() -> Batchpublic func print() throwspublic func stats() -> [String : String]Generated at 2021-04-21T13:08:01+0000 using swift-doc 1.0.0-beta.5.
Types
- BuyName
- BuyNameMessage
- DeleteName
- DeleteNameMessage
- GenesisState
- GetWhois
- KeysOptions
- ListWhois
- NameServiceApp
- NameServiceAppModule
- NameServiceAppModuleBasic
- NameServiceKeeper
- NameServiceKeys
- QueryCommand
- QueryNameserviceCommand
- ResolveName
- SetName
- SetNameMessage
- TransactionCommand
- TransactionNameserviceCommand
- Whois