package
0.28.0
Repository: https://github.com/ten-protocol/go-ten.git
Documentation: pkg.go.dev

# Functions

CreateTLSHTTPClient provides a basic http client prepared with a trusted CA cert.
EnableCORS Allows Tenscan and WalletExtension APIs to serve other web apps via CORS.
ExecuteHTTPReq executes an HTTP request: * returns an error if request fails or if the response code was outside the range 200-299 * returns response body as bytes if there was a response body.
PostDataJSON sends a JSON payload to the given URL and returns the status, response body, and any error encountered.

# Constants

No description provided by the author
No description provided by the author
CORS-related constants.
No description provided by the author
No description provided by the author
No description provided by the author