openrouter

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package openrouter implements the OpenRouter API usage provider.

Auth: OPENROUTER_API_KEY environment variable. Endpoint: GET https://openrouter.ai/api/v1/auth/credits

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider fetches OpenRouter usage data.

func (Provider) BrandColor

func (Provider) BrandColor() string

func (Provider) Fetch

func (Provider) ID

func (Provider) ID() string

func (Provider) MetricIDs

func (Provider) MetricIDs() []string

func (Provider) Name

func (Provider) Name() string

Jump to

Keyboard shortcuts

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