request

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package request implements standardised ways of issuing outgoing calls to other servces.

Index

Constants

View Source
const (
	GetRequestTimeout = time.Second * 10
)

Variables

This section is empty.

Functions

func Get

func Get(options GetOptions) (*http.Response, error)

Types

type GetOptions

type GetOptions struct {
	URL     string
	Headers map[string]string
	Queries map[string]string
}

Jump to

Keyboard shortcuts

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