Documentation ¶
Overview ¶
Package source provides implementations of entities, such as network interfaces, that are able to create network connections, i.e. are "sources" of Internet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Interface ¶
type Interface struct { net.Interface // If ErrHook is not nil, it is called each time that the // dialer is not able to create a network connection. ErrHook func(ref, network, address string, err error) // N is the number of network connections that // the interface is currenlty handling. N int // contains filtered or unexported fields }
Interface is a wrapper around net.Interface and implements the core.Source interface, i.e. is it capable of providing network connections through the device it is referring to.
func (*Interface) DialContext ¶
Click to show internal directories.
Click to hide internal directories.