ax(mining): replace prose GetType comment with usage example
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 16:48:10 +01:00
parent d8dffa398b
commit 871dc781f1
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -28,7 +28,7 @@ type Miner interface {
GetStats(ctx context.Context) (*PerformanceMetrics, error)
// Info operations
GetType() string // Returns miner type identifier (e.g., "xmrig", "tt-miner")
GetType() string // switch miner.GetType() { case "xmrig": ...; case "tt-miner": ... }
GetName() string
GetPath() string
GetBinaryPath() string