gitlab.com/go-extension/tls@v0.0.0-20240304171319-e6745021905e/kernel.go (about) 1 // Copyright 2010 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package tls 6 7 import ( 8 "io" 9 ) 10 11 type kernelCipher struct{} 12 13 type wrappedConn struct { 14 io.ReadWriter 15 } 16 17 func (c *Conn) KernelTX() bool { 18 return c.out.usingKernel() 19 } 20 21 func (c *Conn) KernelRX() bool { 22 return c.in.usingKernel() 23 }