devguard

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 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

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

Jump to

Keyboard shortcuts

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