Documentation
¶
Index ¶
- type Store
- func (s *Store) RemoveFunction(ctx context.Context, cid string) error
- func (s *Store) RemovePeer(ctx context.Context, id peer.ID) error
- func (s *Store) RetrieveFunction(ctx context.Context, cid string) (bls.FunctionRecord, error)
- func (s *Store) RetrieveFunctions(ctx context.Context) ([]bls.FunctionRecord, error)
- func (s *Store) RetrievePeer(ctx context.Context, id peer.ID) (bls.Peer, error)
- func (s *Store) RetrievePeers(ctx context.Context) ([]bls.Peer, error)
- func (s *Store) SaveFunction(ctx context.Context, function bls.FunctionRecord) error
- func (s *Store) SavePeer(ctx context.Context, peer bls.Peer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a thin wrapper around the standard b7s store, adding a tracer to it.
func (*Store) RemoveFunction ¶
func (*Store) RetrieveFunction ¶
func (*Store) RetrieveFunctions ¶
func (*Store) RetrievePeer ¶
func (*Store) RetrievePeers ¶
func (*Store) SaveFunction ¶
Click to show internal directories.
Click to hide internal directories.