url

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap[T any](reg js.ClassBuilder[T])

Types

type URL

type URL[T any] struct {
}

func NewURL

func NewURL[T any](host js.ScriptEngine[T]) URL[T]

func (URL[T]) Constructor

func (w URL[T]) Constructor(cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func (URL[T]) CreateInstance

func (w URL[T]) CreateInstance(
	cbCtx js.CallbackContext[T],
	u string,
) (js.Value[T], error)

func (URL[T]) CreateInstanceBase

func (w URL[T]) CreateInstanceBase(
	cbCtx js.CallbackContext[T],
	u string,
	base string,
) (js.Value[T], error)

func (URL[T]) Initialize

func (wrapper URL[T]) Initialize(jsClass js.Class[T])

type URLSearchParams

type URLSearchParams[T any] struct{}

func NewURLSearchParams

func NewURLSearchParams[T any](scriptHost js.ScriptEngine[T]) *URLSearchParams[T]

func (URLSearchParams[T]) Constructor

func (w URLSearchParams[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (URLSearchParams[T]) CustomInitializer

func (w URLSearchParams[T]) CustomInitializer(class js.Class[T])

func (URLSearchParams[T]) Initialize

func (wrapper URLSearchParams[T]) Initialize(jsClass js.Class[T])

Jump to

Keyboard shortcuts

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