Documentation
¶
Overview ¶
Package paramclient reaches a published PartSpec corpus over the contract's PartSpecService, as a param.Fetcher (agni issue 749). It is only the transport adapter. param.Remote wraps it and holds the caching, the generation check, and the rule that an unreachable corpus is an error rather than an unseeded part.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a param.Fetcher over a PartSpecService at a base URL, such as a running `agnids serve`.
func New ¶
New returns a Client for the PartSpecService served at baseURL. A non-empty token goes on every call as a bearer token, for an agnids started with --auth tokens (agni issue 1765).