internal/

directory
v1.24.8 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: GPL-3.0

Directories

Path Synopsis
Package auth handles Twitch authentication, cookie persistence, and credential management for the miner.
Package auth handles Twitch authentication, cookie persistence, and credential management for the miner.
Package config handles loading, parsing, and validating YAML configuration files for the Twitch miner.
Package config handles loading, parsing, and validating YAML configuration files for the Twitch miner.
Package constants defines all Twitch API endpoints, client identifiers, GQL operation hashes, user-agent strings, PubSub topic formats, and default timeout/interval values used throughout the miner.
Package constants defines all Twitch API endpoints, client identifiers, GQL operation hashes, user-agent strings, PubSub topic formats, and default timeout/interval values used throughout the miner.
Package encryption provides AES-256-GCM encryption and decryption for sensitive values stored on disk.
Package encryption provides AES-256-GCM encryption and decryption for sensitive values stored on disk.
Package gql provides a typed GraphQL client for the Twitch GQL API.
Package gql provides a typed GraphQL client for the Twitch GQL API.
Package jsonutil provides helper functions for extracting typed values from unstructured JSON maps (map[string]any).
Package jsonutil provides helper functions for extracting typed values from unstructured JSON maps (map[string]any).
Package logger provides structured logging with colored console output, optional file output, and per-account logger prefixing using log/slog.
Package logger provides structured logging with colored console output, optional file output, and per-account logger prefixing using log/slog.
Package managedminer provides dynamic lifecycle management for Miner goroutines.
Package managedminer provides dynamic lifecycle management for Miner goroutines.
Package miner implements the core mining orchestrator for a single Twitch account.
Package miner implements the core mining orchestrator for a single Twitch account.
Package model defines pure data types for all Twitch miner entities.
Package model defines pure data types for all Twitch miner entities.
Package notify provides notification dispatching to multiple providers (Telegram, Discord, Webhook, Matrix, Pushover, Gotify) based on event filtering.
Package notify provides notification dispatching to multiple providers (Telegram, Discord, Webhook, Matrix, Pushover, Gotify) based on event filtering.
Package pubsub implements the Twitch PubSub WebSocket protocol, providing a connection pool that manages multiple WebSocket connections, automatic topic distribution, ping/pong keepalive, and reconnection with exponential backoff.
Package pubsub implements the Twitch PubSub WebSocket protocol, providing a connection pool that manages multiple WebSocket connections, automatic topic distribution, ping/pong keepalive, and reconnection with exponential backoff.
Package server provides a lightweight HTTP analytics server that exposes streamer data, statistics, and a simple dashboard.
Package server provides a lightweight HTTP analytics server that exposes streamer data, statistics, and a simple dashboard.
Package store defines the persistence interface for account configurations.
Package store defines the persistence interface for account configurations.
Package telemetry sends periodic heartbeats to a telemetry server to track active instances, versions, and platforms.
Package telemetry sends periodic heartbeats to a telemetry server to track active instances, versions, and platforms.
Package twitch provides a high-level Twitch API client that combines authentication, GQL operations, and business logic for the miner.
Package twitch provides a high-level Twitch API client that combines authentication, GQL operations, and business logic for the miner.
Package utils provides general-purpose utility functions for the Twitch miner, including number formatting and text slugification.
Package utils provides general-purpose utility functions for the Twitch miner, including number formatting and text slugification.
Package watcher provides the CategoryWatcher that automatically discovers and tracks streamers based on configured game categories.
Package watcher provides the CategoryWatcher that automatically discovers and tracks streamers based on configured game categories.
Package workerpool provides a generic bounded worker pool for running a function over a slice of items concurrently.
Package workerpool provides a generic bounded worker pool for running a function over a slice of items concurrently.

Jump to

Keyboard shortcuts

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