aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/net/dial.go
blob: 763096d9ef8fbff9e4af62f4eea9ed90639c21a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package net

import (
	"context"
	"time"
)

type Dialer struct {
	Timeout   time.Duration
	Deadline  time.Time
	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
}