Documentation ¶
Index ¶
- func IsRemotePortOpen(ipAddress string, port string) bool
- func IsTCPPortAvailable(port int) bool
- func LocalHostnames() ([]string, error)
- func LocalIP() (string, error)
- func RemoteHostnames() ([]string, error)
- func RemoteIP() (string, error)
- func ValidIP4(ipAddress string) bool
- type BroadcastHub
- type Client
- type Connection
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRemotePortOpen ¶
func IsTCPPortAvailable ¶
func LocalHostnames ¶
func RemoteHostnames ¶
Types ¶
type BroadcastHub ¶
type BroadcastHub struct {
// contains filtered or unexported fields
}
func NewBroadcastHub ¶
func NewBroadcastHub(incoming chan []byte, outgoing chan []byte) *BroadcastHub
func (*BroadcastHub) Count ¶
func (bh *BroadcastHub) Count() int
func (*BroadcastHub) Run ¶
func (bh *BroadcastHub) Run()
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.