Documentation
¶
Overview ¶
Package centraltest gives a test a muster in front of a beekeeper serve: its call_tool forwards x_<server>_<tool> to the backend with the caller's bearer and wraps the result as muster does, its subscriptions/listen streams take the updates the test relays, and a muster binary that names its endpoint and prints a token.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Muster ¶
type Muster struct {
URL string
// contains filtered or unexported fields
}
Muster is a test muster in front of the beekeeper serve at backend (its /mcp URL), registered as server.
func NewStalling ¶ added in v0.138.4
NewStalling starts a test muster over HTTP/2, as muster behind its ingress answers, whose first connection stalls: it takes the requests of the JSON-RPC method on it and never answers them, as a connection whose far end went away without a word; method "" stalls every request on it. Every other connection answers. It returns the muster and the transport that trusts it.