waku-org/go-waku

View on GitHub
waku/v2/api/common/storenode_requestor.go

Summary

Maintainability
A
0 mins
Test Coverage
package common

import (
    "context"

    "github.com/libp2p/go-libp2p/core/peer"
    "github.com/waku-org/go-waku/waku/v2/protocol/store/pb"
)

type StorenodeRequestor interface {
    Query(ctx context.Context, peerID peer.ID, query *pb.StoreQueryRequest) (StoreRequestResult, error)
}