Documentation ¶
Index ¶
- type NodeStore
- func (r *NodeStore) Add(ctx context.Context, nodeInfo models.NodeInfo) error
- func (r *NodeStore) Delete(ctx context.Context, nodeID string) error
- func (r *NodeStore) FindPeer(ctx context.Context, peerID peer.ID) (peer.AddrInfo, error)
- func (r *NodeStore) Get(ctx context.Context, nodeID string) (models.NodeInfo, error)
- func (r *NodeStore) GetByPrefix(ctx context.Context, prefix string) (models.NodeInfo, error)
- func (r *NodeStore) List(ctx context.Context, filters ...routing.NodeInfoFilter) ([]models.NodeInfo, error)
- type NodeStoreParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeStore ¶ added in v1.2.2
type NodeStore struct {
// contains filtered or unexported fields
}
func NewNodeStore ¶ added in v1.2.2
func NewNodeStore(params NodeStoreParams) *NodeStore
func (*NodeStore) GetByPrefix ¶ added in v1.2.2
type NodeStoreParams ¶ added in v1.2.2
Click to show internal directories.
Click to hide internal directories.