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

Method Handshake

naconn/conn.go:74–79  ·  view source on GitHub ↗

Handshake does the initial handshaking according to the connection role.

()

Source from the content-addressed store, hash-verified

72
73// Handshake does the initial handshaking according to the connection role.
74func (c *NAConn) Handshake() (err error) {
75 if c.isClient {
76 return c.clientHandshake()
77 }
78 return c.serverHandshake()
79}
80
81func (c *NAConn) serverHandshake() (err error) {
82 headerBuf := make([]byte, HeaderSize)

Callers 2

DialExFunction · 0.95
AcceptFunction · 0.80

Calls 2

clientHandshakeMethod · 0.95
serverHandshakeMethod · 0.95

Tested by

no test coverage detected