Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindiu committed Aug 13, 2020
1 parent ea8a66d commit b39d571
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions internal/net/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,24 @@ const (
)

type (
Conn = net.Conn
Dialer = net.Dialer
// Conn is an alias of net.Conn
Conn = net.Conn

// Dialer is an alias of net.Dialer
Dialer = net.Dialer

// ListenConfig is an alias of net.ListenConfig
ListenConfig = net.ListenConfig
Listener = net.Listener
Resolver = net.Resolver

// Listener is an alias of net.Listener
Listener = net.Listener

// Resolver is an alias of net.Resolver
Resolver = net.Resolver
)

var (
// DefaultResolver is an alias of net.DefaultResolver
DefaultResolver = net.DefaultResolver
)

Expand Down

0 comments on commit b39d571

Please sign in to comment.