MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / conn

Struct conn

client/conn.go:41–53  ·  view source on GitHub ↗

conn implements an interface sql.Conn.

Source from the content-addressed store, hash-verified

39
40// conn implements an interface sql.Conn.
41type conn struct {
42 dbID proto.DatabaseID
43
44 queries []types.Query
45 localNodeID proto.NodeID
46 privKey *asymmetric.PrivateKey
47
48 inTransaction bool
49 closed int32
50
51 leader *pconn
52 follower *pconn
53}
54
55// pconn represents a connection to a peer.
56type pconn struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected