Help us shape the future of Go! Take the 2026 Go Developer Survey

cliproxy

package
v0.59.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package cliproxy exposes Clawmeter's cached Claude and Codex readings through the read-only subset of CLIProxyAPI's management API that T3 Code reads (apps/server/src/usage/cliproxyApi.ts in pingdotgg/t3code). It answers from the cache the tray keeps and never forwards a request or returns a credential. Its only own request is for each account's identity, which T3 uses to match the account with its own login.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(managementKey string, sources []provider.Provider, maxAge time.Duration) (http.Handler, error)

NewHandler serves the T3 Code management API subset for the configured Claude and Codex sources. T3 treats every successful answer as current, so a reading older than maxAge is reported unavailable instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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