url

package
v0.0.0-...-a2b917b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import interface{}

type URL

type URL struct {
	Hash     string `v8:"hash"`
	Host     string `v8:"host"`
	Pathname string `v8:"pathname"`
	Password string `v8:"password"`
	Protocol string `v8:"protocol"`
	Search   string `v8:"search"`
	Username string `v8:"username"`
}

func NewURL

func NewURL(in isolates.FunctionArgs) (*URL, error)

func PathToFileURL

func PathToFileURL(ctx context.Context, path string) (*URL, error)

func (*URL) String

func (u *URL) String() string

func (*URL) V8FuncToString

func (u *URL) V8FuncToString(in isolates.FunctionArgs) (*isolates.Value, error)

Jump to

Keyboard shortcuts

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