mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
doc: update doc
This commit is contained in:
1 parent
d8b9e00025
commit
8ccafa8fbd
3 files changed
+31
-23
No files matched your search
+2
-2
@@ -15,7 +15,7 @@ type Dialer interface {
|
||||
UDPDialer
|
||||
}
|
||||
|
||||
// TCPDialer is used to create connection.
|
||||
// TCPDialer is used to create tcp connection.
|
||||
type TCPDialer interface {
|
||||
// Addr is the dialer's addr
|
||||
Addr() string
|
||||
@@ -24,7 +24,7 @@ type TCPDialer interface {
|
||||
Dial(network, addr string) (c net.Conn, err error)
|
||||
}
|
||||
|
||||
// UDPDialer is used to create connection.
|
||||
// UDPDialer is used to create udp PacketConn.
|
||||
type UDPDialer interface {
|
||||
// Addr is the dialer's addr
|
||||
Addr() string
|
||||
|
||||
Reference in new issue
Block a user