Documentation ¶
Index ¶
- type GlobalStore
- func (s *GlobalStore) Close() error
- func (s *GlobalStore) Get(addr common.Address, key []byte) (data []byte, err error)
- func (s *GlobalStore) HasKey(addr common.Address, key []byte) bool
- func (s *GlobalStore) NewNodeStore(addr common.Address) *mock.NodeStore
- func (s *GlobalStore) Put(addr common.Address, key []byte, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalStore ¶
type GlobalStore struct {
// contains filtered or unexported fields
}
func NewGlobalStore ¶
func NewGlobalStore(client *rpc.Client) *GlobalStore
func (*GlobalStore) Close ¶
func (s *GlobalStore) Close() error
func (*GlobalStore) NewNodeStore ¶
func (s *GlobalStore) NewNodeStore(addr common.Address) *mock.NodeStore
Click to show internal directories.
Click to hide internal directories.