Help us shape the future of Go! Take the 2026 Go Developer Survey

devguard

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient struct {
	*http.Client // Embedded client provides all http.Client methods
}

HTTPClient wraps http.Client with automatic request signing and URL handling

func NewHTTPClient

func NewHTTPClient(token, apiURL string) (*HTTPClient, error)

NewHTTPClient creates a new HTTPClient with the given token and API URL

type RequestSigner added in v1.0.0

type RequestSigner interface {
	AuthenticateRequestWithToken(token string, req *http.Request) error
}

Jump to

Keyboard shortcuts

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