offchain

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Offchain

type Offchain interface {
	LocalStorageGet(kind StorageKind, key []byte) (*types.StorageDataRaw, error)
	LocalStorageSet(kind StorageKind, key []byte, value []byte) error
}

func NewOffchain

func NewOffchain(c client.Client) Offchain

NewOffchain creates a new offchain struct

type StorageKind

type StorageKind string

StorageKind ...

const (
	// Persistent storage
	Persistent StorageKind = "PERSISTENT"
	// Local storage
	Local StorageKind = "LOCAL"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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