Add NativeDialer method to mtglib.Network

This commit is contained in:
9seconds
2026-03-12 19:25:53 +01:00
parent 6493688282
commit 94e4179fb7
7 changed files with 19 additions and 17 deletions
-9
View File
@@ -11,10 +11,7 @@ package network
import (
"errors"
"net"
"time"
"github.com/9seconds/mtg/v2/mtglib"
)
const (
@@ -37,9 +34,3 @@ const (
)
var ErrCannotDial = errors.New("cannot dial to any address")
type Network interface {
mtglib.Network
NativeDialer() *net.Dialer
}