Documentation ¶
Index ¶
- type NodeInfoStore
- func (r *NodeInfoStore) Add(ctx context.Context, nodeInfo model.NodeInfo) error
- func (r *NodeInfoStore) Delete(ctx context.Context, peerID peer.ID) error
- func (r *NodeInfoStore) FindPeer(ctx context.Context, peerID peer.ID) (peer.AddrInfo, error)
- func (r *NodeInfoStore) Get(ctx context.Context, peerID peer.ID) (model.NodeInfo, error)
- func (r *NodeInfoStore) List(ctx context.Context) ([]model.NodeInfo, error)
- func (r *NodeInfoStore) ListForEngine(ctx context.Context, engine model.Engine) ([]model.NodeInfo, error)
- type NodeInfoStoreParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeInfoStore ¶
type NodeInfoStore struct {
// contains filtered or unexported fields
}
func NewNodeInfoStore ¶
func NewNodeInfoStore(params NodeInfoStoreParams) *NodeInfoStore
func (*NodeInfoStore) ListForEngine ¶
type NodeInfoStoreParams ¶
Click to show internal directories.
Click to hide internal directories.