url

package
v5.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendPortIfMissing

func AppendPortIfMissing(u string, p string) (string, error)

AppendPortIfMissing takes a URL and port as strings and appends the provided port to the URL if it is missing

func IsIPv6

func IsIPv6(str string) bool

IsIPv6 takes a string containing an IP address and will a boolean value based on whether or not the IP is IPv6

Types

This section is empty.

Jump to

Keyboard shortcuts

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