httpclient

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseWrapper

type ResponseWrapper struct {
	StatusCode int
	Body       string
	Header     http.Header
}

func Get

func Get(url string, timeout int) ResponseWrapper

func PostJson

func PostJson(url string, body string, timeout int) ResponseWrapper

func PostParams

func PostParams(url string, params string, timeout int) ResponseWrapper

Jump to

Keyboard shortcuts

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