zai

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package zai implements the z.ai usage provider.

Auth: ZAI_API_TOKEN (or ZAI_API_KEY) environment variable. Endpoint: GET https://api.z.ai/api/monitor/usage/quota/limit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider fetches z.ai usage data.

func (Provider) BrandBg added in v0.3.0

func (Provider) BrandBg() string

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