urlenc

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte, v interface{}) ([]byte, error)

func Encode

func Encode(v interface{}) ([]byte, error)

Encode encodes the given value into a query string. Only structs and maps with string keys and several types of types as values are supported.

Types

type Marshaler

type Marshaler interface {
	MarshalURL() ([]byte, error)
}

type Setter

type Setter interface {
	Set(interface{}) error
}

type Unmarshaler

type Unmarshaler interface {
	UnmarshalURL([]byte) error
}

type Valuer

type Valuer interface {
	Value() interface{}
}

Jump to

Keyboard shortcuts

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