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 ¶
NewOffchain creates a new offchain struct
type StorageKind ¶
type StorageKind string
StorageKind ...
const ( // Persistent storage Persistent StorageKind = "PERSISTENT" // Local storage Local StorageKind = "LOCAL" )
Click to show internal directories.
Click to hide internal directories.