internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: BSD-2-Clause

Directories

Path Synopsis
Package embeds answers whether one type is another or is built on it, the way a type that embeds another inherits from it: the Go counterpart of asking whether a value is an instance of a class or of one derived from it.
Package embeds answers whether one type is another or is built on it, the way a type that embeds another inherits from it: the Go counterpart of asking whether a value is an instance of a class or of one derived from it.
Package goid recognizes the calling goroutine, for the few places that must tell whether they are being called from a goroutine they started: something that waits for that goroutine to end would otherwise wait for itself.
Package goid recognizes the calling goroutine, for the few places that must tell whether they are being called from a goroutine they started: something that waits for that goroutine to end would otherwise wait for itself.
Package hfhub downloads a model's files from the Hugging Face Hub into a local cache, laid out as the Hub's own client lays it out, so files fetched by either one are found by the other: a model downloaded ahead with `huggingface-cli download`, such as while building an image, is used in place without going to the network.
Package hfhub downloads a model's files from the Hugging Face Hub into a local cache, laid out as the Hub's own client lays it out, so files fetched by either one are found by the other: a model downloaded ahead with `huggingface-cli download`, such as while building an image, is used in place without going to the network.
Package imageenc encodes images for a model to look at.
Package imageenc encodes images for a model to look at.
Package modelcache keeps models loaded once a process, so every owner using the same model and settings shares one.
Package modelcache keeps models loaded once a process, so every owner using the same model and settings shares one.
Package onnxrt centralizes jargo's use of the ONNX runtime.
Package onnxrt centralizes jargo's use of the ONNX runtime.
Package ordered writes JSON objects whose keys keep the order they were given in.
Package ordered writes JSON objects whose keys keep the order they were given in.
Package providertest holds shared assertions for provider packages whose behavior is fully determined by the base service they delegate to.
Package providertest holds shared assertions for provider packages whose behavior is fully determined by the base service they delegate to.
Package pytext holds the string and rounding rules the tone models' inputs were written by, which differ from Go's at the edges.
Package pytext holds the string and rounding rules the tone models' inputs were written by, which differ from Go's at the edges.
Package query provides jargo's shared URL-query helpers.
Package query provides jargo's shared URL-query helpers.
Package security holds the checks that decide whether a connection from outside is allowed in, and the masking of credentials in text bound for logs and error reports.
Package security holds the checks that decide whether a connection from outside is allowed in, and the masking of credentials in text bound for logs and error reports.
Package sentencex splits text into sentences, with rules for many languages.
Package sentencex splits text into sentences, with rules for many languages.
Package shared runs the paired operations on a resource several owners share once each, however many owners call them.
Package shared runs the paired operations on a resource several owners share once each, however many owners call them.
Package sse reads Server-Sent Events streams.
Package sse reads Server-Sent Events streams.
Package tagscan extracts control tags like <dtmf>1</dtmf> from a streamed text response, so a processor can act on the tags and speak the rest.
Package tagscan extracts control tags like <dtmf>1</dtmf> from a streamed text response, so a processor can act on the tags and speak the rest.
Package timeutil converts between the units time is counted in across the framework.
Package timeutil converts between the units time is counted in across the framework.
Package tokenizers encodes text into model input ids exactly as the Hugging Face tokenizers library (version 0.23.3, through its Python binding) does for the tokenizer.json files it supports: the same ids, type ids, masks, sequence ids and offsets, the offsets counted in Unicode code points of the sequence each token belongs to.
Package tokenizers encodes text into model input ids exactly as the Hugging Face tokenizers library (version 0.23.3, through its Python binding) does for the tokenizer.json files it supports: the same ids, type ids, masks, sequence ids and offsets, the offsets counted in Unicode code points of the sequence each token belongs to.
Package ttsstream holds the loops the HTTP text-to-speech providers share: reading a raw PCM response body in chunks and turning the chunks into audio frames.
Package ttsstream holds the loops the HTTP text-to-speech providers share: reading a raw PCM response body in chunks and turning the chunks into audio frames.
Package validate provides jargo's shared struct validator.
Package validate provides jargo's shared struct validator.
Package videocodec binds the native video codecs a WebRTC peer encodes and decodes with: libvpx for VP8, and OpenH264 for H.264.
Package videocodec binds the native video codecs a WebRTC peer encodes and decodes with: libvpx for VP8, and OpenH264 for H.264.
Package yamlutil holds the YAML loading helpers shared by the framework's YAML-based configuration.
Package yamlutil holds the YAML loading helpers shared by the framework's YAML-based configuration.
Package zoomaiutil holds the helpers shared by everything that calls Zoom AI Services: the tracking ID and headers every request carries, and the check on the endpoint a request is sent to.
Package zoomaiutil holds the helpers shared by everything that calls Zoom AI Services: the tracking ID and headers every request carries, and the check on the endpoint a request is sent to.

Jump to

Keyboard shortcuts

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