Documentation ¶
Index ¶
- type NodeInfoStore
- func (r *NodeInfoStore) Add(ctx context.Context, nodeInfo models.NodeInfo) error
- func (r *NodeInfoStore) Delete(ctx context.Context, nodeID string) error
- func (r *NodeInfoStore) FindPeer(ctx context.Context, peerID peer.ID) (peer.AddrInfo, error)
- func (r *NodeInfoStore) Get(ctx context.Context, nodeID string) (models.NodeInfo, error)
- func (r *NodeInfoStore) GetByPrefix(ctx context.Context, prefix string) (models.NodeInfo, error)
- func (r *NodeInfoStore) List(ctx context.Context) ([]models.NodeInfo, error)
- func (r *NodeInfoStore) ListForEngine(ctx context.Context, engine string) ([]models.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) Delete ¶
func (r *NodeInfoStore) Delete(ctx context.Context, nodeID string) error
func (*NodeInfoStore) GetByPrefix ¶ added in v1.1.4
func (*NodeInfoStore) ListForEngine ¶
type NodeInfoStoreParams ¶
Click to show internal directories.
Click to hide internal directories.