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) (blockless.FunctionRecord, error)
- func (s *Store) RetrieveFunctions(ctx context.Context) ([]blockless.FunctionRecord, error)
- func (s *Store) RetrievePeer(ctx context.Context, id peer.ID) (blockless.Peer, error)
- func (s *Store) RetrievePeers(ctx context.Context) ([]blockless.Peer, error)
- func (s *Store) SaveFunction(ctx context.Context, function blockless.FunctionRecord) error
- func (s *Store) SavePeer(ctx context.Context, peer blockless.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.