client

package
v0.0.0-...-ca060dc Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = &http.Client{
	Timeout: 10 * time.Second,
}

Client sets a custom timeout for playgrounds. Playgrounds are expected to use this client for HTTP requests.

Functions

func Post

func Post(u string, body interface{}) (*http.Response, error)

Post sends a POST request with the client

Types

This section is empty.

Jump to

Keyboard shortcuts

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