script

package
v0.0.0-...-350adb2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpModule

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

func NewHttpModule

func NewHttpModule(client *http.Client) *HttpModule

func NewHttpModuleWithDo

func NewHttpModuleWithDo(do func(req *http.Request) (*http.Response, error)) *HttpModule

func (*HttpModule) GetReport

func (h *HttpModule) GetReport() []Report

func (*HttpModule) Loader

func (h *HttpModule) Loader(L *lua.LState) int

type ProtoModule

type ProtoModule struct {
}

func (*ProtoModule) Loader

func (p *ProtoModule) Loader(l *lua.LState) int

func (*ProtoModule) Marshal

func (p *ProtoModule) Marshal(L *lua.LState) int

func (*ProtoModule) Unmarshal

func (p *ProtoModule) Unmarshal(L *lua.LState) int

type Report

type Report struct {
	Api     string
	ReqBody int
	ResBody int
	Consume int
	Err     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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