Documentation
¶
Index ¶
- func NewStorage(moduleName, methodName string, meta *metadata.Metadata, rpc gear_rpc.IGearRPC) gear_storage.IGearStorage
- type Storage
- func (stor *Storage) AddAccountIdToStorageParams(accoundSeed string) error
- func (stor *Storage) DecodeStorage(decodeData any, storkey string) error
- func (stor *Storage) DecodeStorageDataAny(storkey string, v any) error
- func (stor *Storage) DecodeStorageDataArray() ([]map[string]any, error)
- func (stor *Storage) DecodeStorageDataMap(storkey string) (map[string]any, error)
- func (stor *Storage) GetActiveProgramByCodeId(codeId string) (*models.Program, error)
- func (stor *Storage) GetPrograms() ([]*models.Program, error)
- func (stor *Storage) GetProgramsId() ([]string, error)
- func (stor *Storage) GetStorageKey() (string, error)
- func (stor *Storage) GetStorageKeys() ([]string, error)
- func (stor *Storage) GetVoucherStorageKeys() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorage ¶
func NewStorage(moduleName, methodName string, meta *metadata.Metadata, rpc gear_rpc.IGearRPC) gear_storage.IGearStorage
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) AddAccountIdToStorageParams ¶ added in v1.0.2
func (*Storage) DecodeStorage ¶
func (*Storage) DecodeStorageDataAny ¶
func (*Storage) DecodeStorageDataArray ¶
func (*Storage) DecodeStorageDataMap ¶
func (*Storage) GetActiveProgramByCodeId ¶ added in v1.0.2
func (*Storage) GetPrograms ¶ added in v1.0.2
func (*Storage) GetProgramsId ¶
func (*Storage) GetStorageKey ¶
func (*Storage) GetStorageKeys ¶
func (*Storage) GetVoucherStorageKeys ¶ added in v1.0.3
Click to show internal directories.
Click to hide internal directories.