reformatted many base commands, and moved them to the BaseMiner class

This commit is contained in:
UpstreamData
2022-01-26 08:57:14 -07:00
parent d6c8335162
commit 516075db6d
5 changed files with 22 additions and 41 deletions

View File

@@ -13,8 +13,27 @@ class BaseMiner:
self.api_type = None
self.model = None
async def get_board_info(self):
return None
async def get_config(self):
return None
async def get_hostname(self):
return None
async def get_model(self):
return None
async def reboot(self):
return None
async def restart_backend(self):
return None
async def send_config(self, yaml_config):
return None