urlutil

package
v0.0.0-...-e9ebb46 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 4 Imported by: 8

Documentation

Index

Constants

View Source
const (
	HTTP             = "http"
	HTTPS            = "https"
	SchemeSeparator  = "://"
	DefaultHTTPPort  = "80"
	DefaultHTTPSPort = "443"
)

Variables

This section is empty.

Functions

func Domain

func Domain(s string) (string, error)

func Host

func Host(s string) (string, error)

func Hostname

func Hostname(s string) (string, error)

func URLEncodeAllChar

func URLEncodeAllChar(s string) string

URL Encode all characters URLEncodeAllChar("1' and sleep(5) and '1'='1") %31%27%20%61%6E%64%20%73%6C%65%65%70%28%35%29%20%61%6E%64%20%27%31%27%3D%27%31

Types

This section is empty.

Jump to

Keyboard shortcuts

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