common

package
v0.1.14-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpReq

func HttpReq(L *lua.LState)

Types

type HttpReqFunc

type HttpReqFunc struct{}

func (*HttpReqFunc) Get

func (h *HttpReqFunc) Get(url string, params string) string

func (*HttpReqFunc) GetJson

func (h *HttpReqFunc) GetJson(url string, params string) map[string]interface{}

func (*HttpReqFunc) Post

func (h *HttpReqFunc) Post(url string, params interface{}) string

func (*HttpReqFunc) PostJson

func (h *HttpReqFunc) PostJson(url string, params interface{}) map[string]interface{}

Jump to

Keyboard shortcuts

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