Documentation ¶
Overview ¶
Package urlutil provides helper function to check urls kind. It supports http urls, git urls and transport url (tcp://, …)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGitTransport ¶
IsGitTransport returns true if the provided str is a git transport by inspecting the prefix of the string for known protocols used in git.
func IsTransportURL ¶
IsTransportURL returns true if the provided str is a transport (tcp, udp, unix) URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.