http

package module
v0.0.0-...-794a72b Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 License: Apache-2.0 Imports: 8 Imported by: 9

README

http-go

Build Status Build size Go Report Card Coverage Status GoDocLicense

Package http-go

The http package provides help to realise some call rest.

Documentation

Link to documentaton

License

The code is licensed under the permissive Apache v2.0 licence. This means you can do what you like with the software, as long as you include the required notices. Read this for a summary.

Documentation

Overview

Package http help to realise some REST calls

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP interface {
	GetBody() []byte
	Get(url string) (err error)
	GetWithHeaders(url string, headers map[string][]string) (err error)
	PostJSON(url string, buffer []byte) (err error)
}

HTTP interface of the package http

func New

func New(l *logrus.Logger) HTTP

New create the structure

Jump to

Keyboard shortcuts

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