http

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preload

func Preload() lua.LValue

Types

type Http

type Http struct {
	Headers map[string][]string `lua:"headers"`
	Proxy   string              `lua:"proxy"`
	Timeout time.Duration       `lua:"timeout"`
	// contains filtered or unexported fields
}

func (*Http) AssertFunction

func (h *Http) AssertFunction() (*lua.LFunction, bool)

func (*Http) Index

func (h *Http) Index(L *lua.LState, key string) lua.LValue

func (*Http) String

func (h *Http) String() string

func (*Http) Type added in v0.5.0

func (h *Http) Type() lua.LValueType

type Response

type Response struct {
	// contains filtered or unexported fields
}

func (*Response) AssertFunction

func (r *Response) AssertFunction() (*lua.LFunction, bool)

func (*Response) Index

func (r *Response) Index(L *lua.LState, key string) lua.LValue

func (*Response) String

func (r *Response) String() string

func (*Response) Type added in v0.5.0

func (r *Response) Type() lua.LValueType

Jump to

Keyboard shortcuts

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