wmapi

package module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 3 Imported by: 0

README

wmapi - UNSTABLE | WORK IN PROGRESS

Whatsminer API for go

Documentation

Overview

Package wmapi provides a high-level interface for interacting with Whatsminer ASICs. This file contains the middleware layer that simplifies interaction with the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WhatsminerMiddleware

type WhatsminerMiddleware struct {
	API         *transport.WhatsminerAPI
	AccessToken *transport.WhatsminerAccessToken
	Read        *client.ReadAPI
	Write       *client.WriteAPI
}

func NewWhatsminerAPI

func NewWhatsminerAPI(ipAddress string, port int, adminPassword string) (*WhatsminerMiddleware, error)

Directories

Path Synopsis
Package whatsminer provides a low-level API interface for Whatsminer ASICs.
Package whatsminer provides a low-level API interface for Whatsminer ASICs.

Jump to

Keyboard shortcuts

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