Documentation ¶
Index ¶
- type Storage
- func (storage *Storage) All(ctx context.Context, addresses ...string) (response []contract.GlobalConstant, err error)
- func (storage *Storage) ContractList(ctx context.Context, address string, size, offset int64) ([]contract.Contract, error)
- func (storage *Storage) ForContract(ctx context.Context, address string, size, offset int64) (response []contract.GlobalConstant, err error)
- func (storage *Storage) Get(ctx context.Context, address string) (response contract.GlobalConstant, err error)
- func (storage *Storage) List(ctx context.Context, size, offset int64, orderBy, sort string) ([]contract.ListGlobalConstantItem, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
Storage -
func (*Storage) All ¶
func (storage *Storage) All(ctx context.Context, addresses ...string) (response []contract.GlobalConstant, err error)
All -
func (*Storage) ContractList ¶
func (storage *Storage) ContractList(ctx context.Context, address string, size, offset int64) ([]contract.Contract, error)
ContractList -
func (*Storage) ForContract ¶
func (storage *Storage) ForContract(ctx context.Context, address string, size, offset int64) (response []contract.GlobalConstant, err error)
ForContract -
Click to show internal directories.
Click to hide internal directories.