dial

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddr

func GetAddr(source string) (scheme, hostPort string, isURL bool)

GetAddr returns scheme, host&port, is(Supported)URL

func IsSupportedURL added in v0.27.0

func IsSupportedURL(source string) bool

IsSupportedURL returns true if the provided source is valid for GetAddr

func IsURL

func IsURL(source string) bool

IsURL is true if the provided source is a parsable URL and no file path

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL