conn implements an interface sql.Conn.
| 39 | |
| 40 | // conn implements an interface sql.Conn. |
| 41 | type 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. |
| 56 | type pconn struct { |
nothing calls this directly
no outgoing calls
no test coverage detected