request

package
v0.0.0-...-8a430b7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2016 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const (
	TypeForm = "application/x-www-form-urlencoded"
	TypeJSON = "application/json"
)

Variables

This section is empty.

Functions

func CompileError

func CompileError(ctx context.Context, compileErr error, jid int64) (err error)

func CompileOK

func CompileOK(ctx context.Context, jid int64) (err error)

func Do

func Do(ctx context.Context, method string, URL string, data interface{}, ctype string, respdata interface{}) (err error)

func JudgeError

func JudgeError(ctx context.Context, errMsg error, jid int64)

func PostResult

func PostResult(ctx context.Context, result config.RunResult) (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