go_sysutils/net/consts.go

13 lines
549 B
Go

package main
const (
// RFC1700 is DEPRECATED.
// Go to https://www.iana.org/protocols for their current database.
// https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
portsUrl = "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv"
// https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
protosUrl = "https://www.iana.org/assignments/protocol-numbers/protocol-numbers-1.csv"
portsFile = "ports/data.go"
protosFile = "protos/data.go"
)