utils

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(ctx context.Context, method, path string, privateKey crypto.PrivateKey, in, out any) (int, error)

Send makes an http request to the given endpoint, writing the input to the request body and un-marshaling the output from the response body.

func SignHTTPRequest

func SignHTTPRequest(privateKey crypto.PrivateKey, req *http.Request) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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