MCPcopy
hub / github.com/lxzan/gws / Dialer

Interface Dialer

client.go:21–25  ·  view source on GitHub ↗

Dialer 拨号器接口 Dialer interface

Source from the content-addressed store, hash-verified

19// Dialer 拨号器接口
20// Dialer interface
21type Dialer interface {
22 // Dial 连接到指定网络上的地址
23 // Connects to the address on the named network
24 Dial(network, addr string) (c net.Conn, err error)
25}
26
27type connector struct {
28 option *ClientOption

Callers 3

NewClientFunction · 0.95
TestNewServerFunction · 0.80
TestNewClientFromConnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected