ax(mining): replace prose GetType comment with usage example
Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
parent
d8dffa398b
commit
871dc781f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue