expose rawsock as experimental package (will use for external benchmarks)

This commit is contained in:
Patricio Whittingslow
2026-07-27 17:45:43 -03:00
parent ccb2762fc2
commit 659e7c7ba9
4 changed files with 94 additions and 16 deletions
+3 -2
View File
@@ -10,7 +10,7 @@ import (
"time"
"github.com/soypat/lneto/http/httphi"
"github.com/soypat/lneto/internal/rawsock"
"github.com/soypat/lneto/x/rawsock"
)
const (
@@ -34,7 +34,8 @@ func main() {
}
func run() error {
ln, err := rawsock.Listen(listenPort)
var ln rawsock.Listener
err := ln.Listen(listenPort)
if err != nil {
return err
}