http

package
v0.0.0-...-ebc58a5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = gad.Dict{
	"url": &gad.Function{
		Name:  "url",
		Value: URL,
	},
	"header": &gad.Function{
		Name:  "header",
		Value: Header,
	},
	"request": &gad.Function{
		Name:  "request",
		Value: Request,
	},
	"get": &gad.Function{
		Name:  "get",
		Value: Get,
	},
	"exec": gad.MustNewReflectValue(http.DefaultClient.Do),
}

Functions

func Get

func Get(call gad.Call) (_ gad.Object, err error)
func Header(call gad.Call) (gad.Object, error)

func Request

func Request(call gad.Call) (_ gad.Object, err error)

func URL

func URL(call gad.Call) (_ gad.Object, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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