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) func AuthorityKey(u *url.URL) string
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |