Documentation
¶
Overview ¶
Package blackbox implements public-HTTP test support without database access.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
URL string
Token string
Authority string
Agent string
HTTP *http.Client
Observe func(Prepared, Response, error)
// contains filtered or unexported fields
}
type Clock ¶
type Clock struct {
// contains filtered or unexported fields
}
Clock is a controlled test-host clock; it is not a production RPC.
type Gate ¶
type Gate struct {
Point, Method, Key string
// contains filtered or unexported fields
}
Gate pauses a single matching request outside the daemon write transaction. Await makes race ordering observable rather than relying on sleeps.
type Prepared ¶
Prepared contains immutable encoded request bytes, allowing exact-key replay. Its bytes can contain a lease credential and must not be logged as evidence.
Click to show internal directories.
Click to hide internal directories.