package netutil

Import Path
	github.com/imroc/req/v3/internal/netutil (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 3 packages

Involved Source Files addr.go
Package-Level Functions (total 3)
AuthorityAddr returns a given authority (a host/IP, or host:port / ip:port) and returns a host:port. The port 443 is added if needed.
func AuthorityHostPort(scheme, authority string) (host, port string)