Documentation
¶
Overview ¶
Package codexusage normalizes and renders Codex account rate-limit windows independently of the provider used to obtain them.
Index ¶
- Constants
- func BackWindowLabel(duration time.Duration) string
- func FrontWindowLabel(duration time.Duration) string
- func Scene(snapshot Snapshot, focus Window, config PresentationConfig, signal Signal, ...) protocol.Scene
- func SummaryKey(duration time.Duration) string
- type PresentationConfig
- type RawWindow
- type Signal
- type Snapshot
- type Window
Constants ¶
View Source
const ( CanvasColor = "#071522FF" SurfaceColor = "#171A21FF" BorderColor = "#2B3940FF" TextColor = "#EAF4F2FF" SecondaryColor = "#9AAFB2FF" SignatureColor = "#2AC7B5FF" WarningColor = "#F2B84BFF" DangerColor = "#FF786FFF" )
Variables ¶
This section is empty.
Functions ¶
func BackWindowLabel ¶
func FrontWindowLabel ¶
func SummaryKey ¶
Types ¶
type PresentationConfig ¶
type Signal ¶
type Signal uint8
func SignalFor ¶
func SignalFor(snapshot Snapshot, config PresentationConfig) Signal
Click to show internal directories.
Click to hide internal directories.