package urlutil
import "github.com/dotcloud/docker/pkg/urlutil"
Package urlutil provides helper function to check urls kind. It supports http urls, git urls and transport url (tcp://, …)
Index ¶
Functions ¶
func IsGitURL ¶
IsGitURL returns true if the provided str is a git repository URL.
func IsTransportURL ¶
IsTransportURL returns true if the provided str is a transport (tcp, tcp+tls, udp, unix) URL.
func IsURL ¶
IsURL returns true if the provided str is an HTTP(S) URL.
Source Files ¶
- Version
- v20.10.24+incompatible
- Published
- Apr 4, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 43 seconds ago –
Tools for package owners.