mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-09-09 10:48:48 +08:00
16 lines
334 B
Go
16 lines
334 B
Go
//go:build !linux || !go1.25 || without_badtls
|
|
|
|
package ktls
|
|
|
|
import (
|
|
"context"
|
|
"os"
|
|
|
|
"github.com/sagernet/sing/common/logger"
|
|
aTLS "github.com/sagernet/sing/common/tls"
|
|
)
|
|
|
|
func NewConn(ctx context.Context, logger logger.ContextLogger, conn aTLS.Conn, txOffload, rxOffload bool) (aTLS.Conn, error) {
|
|
return nil, os.ErrInvalid
|
|
}
|