gitlab.com/go-extension/tls@v0.0.0-20240304171319-e6745021905e/kernel_others.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 //go:build !linux 6 7 package tls 8 9 const kernelOverhead = 0 10 11 func (c *Conn) setup() error { 12 return nil 13 } 14 15 func (c *Conn) readKernelRecord(handshakeState uint32) (typ recordType, data []byte, err error) { 16 panic("not implement") 17 } 18 19 func (c *Conn) writeKernelRecord(typ recordType, data []byte) (n int, err error) { 20 panic("not implement") 21 }