urlutil

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL struct {
	Url      string
	Protocol string
	Host     string
	RawPath  string
	Path     string
	RawPort  string
	Port     int
	RawQuery string
	Query    string
	File     string
}

java URL 처럼

func NewURL

func NewURL(url string) *URL

func (*URL) Domain

func (this *URL) Domain() string

func (*URL) DomainPath

func (this *URL) DomainPath() string

func (*URL) HostPort added in v0.0.15

func (this *URL) HostPort() string

func (*URL) ParseQuery added in v0.0.15

func (this *URL) ParseQuery() map[string][]string

func (*URL) String

func (this *URL) String() string

URL Decode 된 url 정보를 다시 조합해서 출력

Jump to

Keyboard shortcuts

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