Function
newEncryptedConnection
(ci ConnectionInfo, conn *rawConnection, folderKeys *folderKeyRegistry, keyGen *KeyGenerator)
Source from the content-addressed store, hash-verified
| 178 | } |
| 179 | |
| 180 | func newEncryptedConnection(ci ConnectionInfo, conn *rawConnection, folderKeys *folderKeyRegistry, keyGen *KeyGenerator) encryptedConnection { |
| 181 | return encryptedConnection{ |
| 182 | ConnectionInfo: ci, |
| 183 | conn: conn, |
| 184 | folderKeys: folderKeys, |
| 185 | keyGen: keyGen, |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | func (e encryptedConnection) Start() { |
| 190 | e.conn.Start() |
Tested by
no test coverage detected