http

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package http wraps part of the Go "net/http" package (https://golang.org/pkg/net/http/)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap() template.FuncMap

Types

type GetRet added in v0.0.4

type GetRet struct {
	StatusCode int         `json:"status_code"`
	Header     http.Header `json:"header"`
	Payload    string      `json:"payload"`
}

func Get added in v0.0.4

func Get(url string) (*GetRet, error)

func (GetRet) String added in v0.0.4

func (out GetRet) String() string

Jump to

Keyboard shortcuts

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