curl

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package curl is dead simple package to GET a URL and return the contents. This is used strictly for debugging network and connectivity issues.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) (*http.Response, []byte, error)

Get returns an http response and body.

func Print

func Print(resp *http.Response, body []byte)

Print prints an http response.

Types

This section is empty.

Jump to

Keyboard shortcuts

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