extensions

package
v0.0.0-...-f9ceb6c Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteRequest

func DeleteRequest(url string, token string) (int, error)

DeleteRequest : request to endpoint with DELETE method

func GetRequest

func GetRequest(url string, token string) ([]byte, error)

GetRequest : receives the endpoint and returns the result of the request

func PostRequest

func PostRequest(url string, token string) (int, error)

PostRequest : request to endpoint with POST method

func PutRequest

func PutRequest(url string, token string) (int, error)

PutRequest : request to endpoint with PUT method

func PutRequestWithBody

func PutRequestWithBody(url string, token string, body string) (int, error)

PutRequestWithBody : request to endpoint with PUT method that has body param

Types

This section is empty.

Jump to

Keyboard shortcuts

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