providerstatusnode

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package providerstatusnode provides the compile-time native Harness Node module that fetches and normalizes account usage for configured OAuth model channels (ChatGPT / Codex OAuth and Claude OAuth).

Index

Constants

View Source
const (
	// UsageCacheTTLMs matches the 3-minute account usage cache budget.
	UsageCacheTTLMs = 180_000
)

Variables

This section is empty.

Functions

func DecodeAccountUsage

DecodeAccountUsage parses and normalizes an upstream OAuth usage HTTP reply.

func EndpointFor

EndpointFor returns the fixed OAuth account usage endpoint for auth.

func Module

func Module() moduleapi.Module

Module returns the native Harness Node module for provider account usage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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