formdata

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented        = errors.New("Browser not implemented FormData")
	ErrNotAFormData          = errors.New("Object is not a FormData")
	ErrNotAFormValueNotFound = errors.New("Form Value not found")
)

Functions

func GetInterface

func GetInterface() js.Value

GetJSInterface get the JS interface of formdata

Types

type FormData

type FormData struct {
	baseobject.BaseObject
}

FormData struct

func NewFromJSObject

func NewFromJSObject(obj js.Value) (FormData, error)

func (FormData) Append

func (f FormData) Append(key string, value interface{}) error

func (FormData) Delete

func (f FormData) Delete(key string) error

func (FormData) Entries

func (f FormData) Entries() (iterator.Iterator, error)

func (FormData) FormData_

func (f FormData) FormData_() FormData

func (FormData) Get

func (f FormData) Get(key string) (interface{}, error)

func (FormData) Has

func (f FormData) Has(key string) (bool, error)

func (FormData) Keys

func (f FormData) Keys() (iterator.Iterator, error)

func (FormData) Set

func (f FormData) Set(key string, value interface{}) error

func (FormData) Values

func (f FormData) Values() (iterator.Iterator, error)

type FormDataFrom

type FormDataFrom interface {
	FormData_() FormData
}

Jump to

Keyboard shortcuts

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