Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
action
action_variable.go - variable name legality check and variable handlers
|
action_variable.go - variable name legality check and variable handlers |
|
Package bfe_bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
|
Package bfe_bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O. |
|
bfe_config
|
|
|
Package bfe_http2 implements the HTTP/2 protocol.
|
Package bfe_http2 implements the HTTP/2 protocol. |
|
hpack
Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2.
|
Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2. |
|
Package bfe_model_protocol hosts the per-protocol (model_protocol) adapters that carry all protocol knowledge of the AI gateway: auth header injection, supplementary headers (e.g.
|
Package bfe_model_protocol hosts the per-protocol (model_protocol) adapters that carry all protocol knowledge of the AI gateway: auth header injection, supplementary headers (e.g. |
|
anthropic
Package anthropic implements the model_protocol adapter for the Anthropic (Claude) protocol.
|
Package anthropic implements the model_protocol adapter for the Anthropic (Claude) protocol. |
|
gemini
Package gemini implements the model_protocol adapter for the Google Gemini protocol (generateContent / streamGenerateContent).
|
Package gemini implements the model_protocol adapter for the Google Gemini protocol (generateContent / streamGenerateContent). |
|
openai
Package openai implements the model_protocol adapter for the OpenAI protocol family (OpenAI chat/completions, DeepSeek, Groq and the OpenAI Responses API).
|
Package openai implements the model_protocol adapter for the OpenAI protocol family (OpenAI chat/completions, DeepSeek, Groq and the OpenAI Responses API). |
|
utils
Package utils holds protocol-neutral helpers shared by the model-protocol adapters: protocol name constants, the neutral usage result structure, upstream-error normalization types and the gjson usage extraction chains.
|
Package utils holds protocol-neutral helpers shared by the model-protocol adapters: protocol name constants, the neutral usage result structure, upstream-error normalization types and the gjson usage extraction chains. |
|
mod_ai_batch
Package mod_ai_batch implements OpenAI Batch API (/v1/files, /v1/batches) passthrough support: operation classification, upload line/byte counting, response field extraction, batch-level key affinity bindings, and the reserve/settle/release orchestration of post-paid batch quota.
|
Package mod_ai_batch implements OpenAI Batch API (/v1/files, /v1/batches) passthrough support: operation classification, upload line/byte counting, response field extraction, batch-level key affinity bindings, and the reserve/settle/release orchestration of post-paid batch quota. |
|
mod_ai_cache/provider/embedding
Package embedding abstracts the text embedding service used by the semantic cache of mod_ai_cache.
|
Package embedding abstracts the text embedding service used by the semantic cache of mod_ai_cache. |
|
mod_ai_cache/provider/vector
Package vector abstracts the vector store used by the semantic cache of mod_ai_cache.
|
Package vector abstracts the vector store used by the semantic cache of mod_ai_cache. |
|
mod_traffic_mirror
Package mod_traffic_mirror implements traffic mirroring (shadow traffic): while the gateway forwards a request to its production upstream, an asynchronous copy is sent to a mirror target cluster.
|
Package mod_traffic_mirror implements traffic mirroring (shadow traffic): while the gateway forwards a request to its production upstream, an asynchronous copy is sent to a mirror target cluster. |
|
mod_userid
Package mod_userid generate user identity to trace one user in different request this mod will auto set user id for request if user id not exited in cookie to cookie
|
Package mod_userid generate user identity to trace one user in different request this mod will auto set user id for request if user id not exited in cookie to cookie |
|
bfe_net
|
|
|
textproto
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP.
|
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP. |
|
Package bfe_proxy implements Proxy Protocol (v1 and v2) parser and writer, as per specification: http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
|
Package bfe_proxy implements Proxy Protocol (v1 and v2) parser and writer, as per specification: http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt |
|
trie
Package trie implements a simple trie data structure that maps "paths" (which are slices of strings) to arbitrary data values (type interface{}).
|
Package trie implements a simple trie data structure that maps "paths" (which are slices of strings) to arbitrary data values (type interface{}). |
|
crypto
Package crypto implements decrypt-only support for the field-level encrypted config values produced by the control plane at export time (see docs/zh_cn/sys_design/config_file_field_encryption.md).
|
Package crypto implements decrypt-only support for the field-level encrypted config values produced by the control plane at export time (see docs/zh_cn/sys_design/config_file_field_encryption.md). |
|
murmur3
Native (and fast) implementation of Austin Appleby's MurmurHash3.
|
Native (and fast) implementation of Austin Appleby's MurmurHash3. |
|
tests
|
|
Click to show internal directories.
Click to hide internal directories.
