Skip to content

[MINOR] Expose functions to register module routes

Christopher Schinnerl requested to merge chris/register-consensus-handlers into master

MERGE REQUEST

MR Guidelines

Overview

I propose splitting out the module api handler registration into individual exposed helper methods as demonstrated in this MR.

This allows skyd to get rid of the API handler code and simply register the routes by importing and calling the corresponding RegisterRoutesModuleName function.

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Issues Closed

Edited by Christopher Schinnerl

Merge request reports