Go's net package in TypeScript
Help us add more
Got a rainy Sunday afternoon and a taste for a porting puzzle?
- Get inspiration from Go strings documentation, Go strings source, Go strings examples source, GopherJS.
- Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.
We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.
Upstream Surface Inventory 4/45 shipped • 4 next 9%
Namespace-level inventory for Go 1.23: what we already ship, what we may still want,
and what we intentionally skip or keep.
net package
50%
shipped
4/8 shipped
4 next
37 explicit non-goals
Shipped (4)
Next
IP mask construction has a clean plain-value contract.
CIDRMaskIPv4Mask
IPv4 construction has a clean plain-value contract.
IPv4
MAC parsing has a clean plain-value contract.
ParseMAC
Explicit non-goals (37)
-
DialMost net helpers depend on sockets, DNS, or host network state. -
DialIPMost net helpers depend on sockets, DNS, or host network state. -
DialTCPMost net helpers depend on sockets, DNS, or host network state. -
DialTimeoutMost net helpers depend on sockets, DNS, or host network state. -
DialUDPMost net helpers depend on sockets, DNS, or host network state. -
DialUnixMost net helpers depend on sockets, DNS, or host network state. -
FileConnMost net helpers depend on sockets, DNS, or host network state. -
FileListenerMost net helpers depend on sockets, DNS, or host network state. -
FilePacketConnMost net helpers depend on sockets, DNS, or host network state. -
InterfaceAddrsMost net helpers depend on sockets, DNS, or host network state. -
InterfaceByIndexMost net helpers depend on sockets, DNS, or host network state. -
InterfaceByNameMost net helpers depend on sockets, DNS, or host network state. -
InterfacesMost net helpers depend on sockets, DNS, or host network state. -
ListenMost net helpers depend on sockets, DNS, or host network state. -
ListenIPMost net helpers depend on sockets, DNS, or host network state. -
ListenMulticastUDPMost net helpers depend on sockets, DNS, or host network state. -
ListenPacketMost net helpers depend on sockets, DNS, or host network state. -
ListenTCPMost net helpers depend on sockets, DNS, or host network state. -
ListenUDPMost net helpers depend on sockets, DNS, or host network state. -
ListenUnixMost net helpers depend on sockets, DNS, or host network state. -
ListenUnixgramMost net helpers depend on sockets, DNS, or host network state. -
LookupAddrMost net helpers depend on sockets, DNS, or host network state. -
LookupCNAMEMost net helpers depend on sockets, DNS, or host network state. -
LookupHostMost net helpers depend on sockets, DNS, or host network state. -
LookupIPMost net helpers depend on sockets, DNS, or host network state. -
LookupMXMost net helpers depend on sockets, DNS, or host network state. -
LookupNSMost net helpers depend on sockets, DNS, or host network state. -
LookupPortMost net helpers depend on sockets, DNS, or host network state. -
LookupSRVMost net helpers depend on sockets, DNS, or host network state. -
LookupTXTMost net helpers depend on sockets, DNS, or host network state. -
PipeMost net helpers depend on sockets, DNS, or host network state. -
ResolveIPAddrMost net helpers depend on sockets, DNS, or host network state. -
ResolveTCPAddrMost net helpers depend on sockets, DNS, or host network state. -
ResolveUDPAddrMost net helpers depend on sockets, DNS, or host network state. -
ResolveUnixAddrMost net helpers depend on sockets, DNS, or host network state. -
TCPAddrFromAddrPortMost net helpers depend on sockets, DNS, or host network state. -
UDPAddrFromAddrPortMost net helpers depend on sockets, DNS, or host network state.