Files
net/dial.go
T
Federico G. Schwindt 6018d49fa2 net: os: add more stubs for 1.15
Fix importing net/http.
2023-05-04 13:35:26 +02:00

26 lines
455 B
Go

package net
import (
"context"
"time"
)
type Dialer struct {
Timeout time.Duration
Deadline time.Time
DualStack bool
KeepAlive time.Duration
}
func Dial(network, address string) (Conn, error) {
return nil, ErrNotImplemented
}
func Listen(network, address string) (Listener, error) {
return nil, ErrNotImplemented
}
func (d *Dialer) DialContext(ctx context.Context, network, address string) (Conn, error) {
return nil, ErrNotImplemented
}