Documentation ¶
Index ¶
- func AddIfNotExists(list []string, item string) []string
- func CheckURL(url string) bool
- func ContainsString(slice []string, str string) bool
- func ExtractNumber(prefix, str string) (int, error)
- func ExtractPortFromURL(rawurl string) (string, error)
- func GetDomain(u string) string
- func IsIPPortURL(urlString string) bool
- func ParseMetadataString(metadataStr string) map[string]string
- func ParseUrl(urlString string) (string, error)
- func RandStr(length int) string
- func RemoveStringFromSlice(slice []string, value string) []string
- func ReplaceSeparator(s, oldSep, newSep string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIfNotExists ¶
func ContainsString ¶
func ExtractNumber ¶
func ExtractPortFromURL ¶
func IsIPPortURL ¶ added in v0.3.0
func ParseMetadataString ¶ added in v0.3.1
func RemoveStringFromSlice ¶
func ReplaceSeparator ¶ added in v0.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.