package mocks
import "github.com/centrifuge/go-substrate-rpc-client/v4/rpc/offchain/mocks"
Index ¶
Types ¶
type NewOffchainT ¶
type Offchain ¶
Offchain is an autogenerated mock type for the Offchain type
func NewOffchain ¶
func NewOffchain(t NewOffchainT) *Offchain
NewOffchain creates a new instance of Offchain. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Offchain) LocalStorageGet ¶
func (_m *Offchain) LocalStorageGet(kind offchain.StorageKind, key []byte) (*types.StorageDataRaw, error)
LocalStorageGet provides a mock function with given fields: kind, key
func (*Offchain) LocalStorageSet ¶
LocalStorageSet provides a mock function with given fields: kind, key, value
Source Files ¶
- Version
- v4.2.1 (latest)
- Published
- Dec 5, 2023
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 weeks ago –
Tools for package owners.