Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCacheSize ¶
WithCacheSize specifies the size of the cache the invoker uses.
Types ¶
type Cache ¶
type Cache interface {
Get(key interface{}) (interface{}, bool)
Set(key, value interface{}, cost int64) bool
}
Cache represents a key/value store to use as a cache.
type Invoker ¶
type Invoker struct {
// contains filtered or unexported fields
}
Invoker retrieves account information from and executes Cadence scripts against the Flow virtual machine.
Click to show internal directories.
Click to hide internal directories.