Directories
¶
| Path | Synopsis |
|---|---|
|
Package atomicfile replaces a file in one rename so a concurrent reader sees either the old bytes or the new ones, never a partial write.
|
Package atomicfile replaces a file in one rename so a concurrent reader sees either the old bytes or the new ones, never a partial write. |
|
Package catalogpick holds the rule for which host's binding stands for a model when the caller names no host, shared by modeldir (the rate sheet a file carries) and modelroutes (routes that leave host selection to a relay).
|
Package catalogpick holds the rule for which host's binding stands for a model when the caller names no host, shared by modeldir (the rate sheet a file carries) and modelroutes (routes that leave host selection to a relay). |
|
Package dataurl reads RFC 2397 data: URLs for the vendor adapters whose wire takes inline media only as a media type plus base64 data.
|
Package dataurl reads RFC 2397 data: URLs for the vendor adapters whose wire takes inline media only as a media type plus base64 data. |
|
Package fidelity is test support for vendor adapters: it builds a canonical request with every request-level field set to a distinctive value, and checks a serialized body either carries each field or names it in an explicit drop list.
|
Package fidelity is test support for vendor adapters: it builds a canonical request with every request-level field set to a distinctive value, and checks a serialized body either carries each field or names it in an explicit drop list. |
|
Package graph is the SDK's internal catalog-discovery graph: a denormalized, cross-linked view of the embedded catalog (models, the hosts that serve them, and the providers that author them) built once from sdk/catalog.
|
Package graph is the SDK's internal catalog-discovery graph: a denormalized, cross-linked view of the embedded catalog (models, the hosts that serve them, and the providers that author them) built once from sdk/catalog. |
|
Package jsonscan walks the members of a JSON object and the elements of a JSON array in raw bytes without decoding them, for the vendor adapters' per-frame checks on stream hot paths.
|
Package jsonscan walks the members of a JSON object and the elements of a JSON array in raw bytes without decoding them, for the vendor adapters' per-frame checks on stream hot paths. |
|
Package sse splits server-sent-event bytes into events per the WHATWG event-stream rules, for the vendor adapters' to-canonical stream parsers and usage walkers: events end at a blank line, an event's data is its data lines joined with "\n", lines end in LF, CRLF or CR, and comments and unknown fields are ignored.
|
Package sse splits server-sent-event bytes into events per the WHATWG event-stream rules, for the vendor adapters' to-canonical stream parsers and usage walkers: events end at a blank line, an event's data is its data lines joined with "\n", lines end in LF, CRLF or CR, and comments and unknown fields are ignored. |
Click to show internal directories.
Click to hide internal directories.