cache

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWalletBucket

func CreateWalletBucket(wallet, walletLocation string) error

func DB

func DB(dbPath string) *bolt.DB

func DeleteContact

func DeleteContact(wallet, network, id string) error

func DeleteContainer

func DeleteContainer(wallet, network, id string) error

func DeleteNotications

func DeleteNotications(wallet, network string) error

func DeleteNotification

func DeleteNotification(wallet, network, id string) error

func DeleteObject

func DeleteObject(wallet, network, id string) error

func DeleteRecentWallet

func DeleteRecentWallet(walletId string) error

func DeleteSharedContainer

func DeleteSharedContainer(wallet, id string) error

func DeleteSharedObject

func DeleteSharedObject(wallet, network, id string) error

func GracefulShutdown

func GracefulShutdown()

func PendContainerDeleted

func PendContainerDeleted(wallet, network, id string, container []byte) error

func PendObjectDeleted

func PendObjectDeleted(wallet, network, id string, object []byte) error

func PendSharedContainerDeleted

func PendSharedContainerDeleted(wallet, network, id string, container []byte) error

func PendSharedObjectDeleted

func PendSharedObjectDeleted(wallet, network, id string, object []byte) error

func RecentWallets

func RecentWallets() (map[string]string, error)

func RetrieveContact

func RetrieveContact(wallet, network, id string) ([]byte, error)

func RetrieveContacts

func RetrieveContacts(wallet, network string) (map[string][]byte, error)

func RetrieveContainer

func RetrieveContainer(wallet, network, id string) ([]byte, error)

func RetrieveContainers

func RetrieveContainers(wallet, network string) (map[string][]byte, error)

func RetrieveNotifications

func RetrieveNotifications(wallet, network string) (map[string][]byte, error)

func RetrieveObject

func RetrieveObject(wallet, network, id string) ([]byte, error)

func RetrieveObjects

func RetrieveObjects(wallet, network string) (map[string][]byte, error)

func RetrieveSharedContainer

func RetrieveSharedContainer(wallet, network, id string) ([]byte, error)

func RetrieveSharedContainers

func RetrieveSharedContainers(wallet, network string) (map[string][]byte, error)

func RetrieveSharedObject

func RetrieveSharedObject(wallet, network, id string) ([]byte, error)

func RetrieveSharedObjects

func RetrieveSharedObjects(wallet, network string) (map[string][]byte, error)

func StoreContact

func StoreContact(wallet, network, id string, contact []byte) error

func StoreContainer

func StoreContainer(wallet, network, id string, container []byte) error

func StoreObject

func StoreObject(wallet, network, id string, container []byte) error

func StoreSharedContainer

func StoreSharedContainer(wallet, network, id string, container []byte) error

func StoreSharedObject

func StoreSharedObject(wallet, network, id string, container []byte) error

func UpsertNotification

func UpsertNotification(wallet, network, id string, notification []byte) error

UpsertNotification used to create a new, or update an existing notification (mark read etc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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