Documentation
¶
Index ¶
- func GetBool(m *gno.Machine, key string) (bool, bool)
- func GetBytes(m *gno.Machine, key string) ([]byte, bool)
- func GetInt64(m *gno.Machine, key string) (int64, bool)
- func GetString(m *gno.Machine, key string) (string, bool)
- func GetStrings(m *gno.Machine, key string) ([]string, bool)
- func GetUint64(m *gno.Machine, key string) (uint64, bool)
- func SetBool(m *gno.Machine, key string, val bool)
- func SetBytes(m *gno.Machine, key string, val []byte)
- func SetInt64(m *gno.Machine, key string, val int64)
- func SetString(m *gno.Machine, key, val string)
- func SetStrings(m *gno.Machine, key string, val []string)
- func SetUint64(m *gno.Machine, key string, val uint64)
- func UpdateParamStrings(m *gno.Machine, key string, val []string, add bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetString ¶
GetString reads a realm-local param previously written with SetString.
The bool reports whether anything is stored at the key, NOT whether it holds the type being asked for. Reading at the wrong type panics or converts, and never reports false. The same applies to every GetXxx below; see the doc on params.gno for what each mismatch does.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.