Documentation
¶
Overview ¶
Package remotegraph provides an authenticated HTTP peer backed by real Cypher and native graph storage for coordinator protocol regression tests.
Index ¶
Constants ¶
const ( CatalogName = "protocol_descriptor" Query = "USE protocol_descriptor.r MATCH (n:DescriptorPeer) RETURN n.marker AS marker" Show = "SHOW CONSTITUENTS FOR COMPOSITE DATABASE protocol_descriptor" Password = " synthetic-adapter-password " )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Peer ¶
type Peer struct {
URL string
// contains filtered or unexported fields
}
Peer executes received statements against native stored data. Its handler checks exact Basic credentials before dispatch; it never echoes a fixture row.
func New ¶
func New(t *testing.T) (*multidb.DatabaseManager, *Peer)
New constructs a keyed coordinator catalog and an authenticated remote graph. Both lifetimes belong to t; callers select their actual coordinator protocol.
manager, peer := remotegraph.New(t) peer.SetMarker(t, "updated")