Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make Reaper accessible in Bot #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 23, 2021

  1. make Reaper accessible in Bot

    This commit is a refactoring of the types bot, Bot, account, lurker, scanner and reaper (with mockReaper). The goal is to make reaper available outside the package (as turnage#59 requests).
    Detailed modifications:
    - Renaming "reaper" to "Reaper" to export the interface,
    - Exporting methods reap -> Reap,
    sow -> Sow, get_sow -> GetSow, rateBlock -> RateBlock,
    - Adding RateBlock to the new Reaper interface.
    To avoid breaking compatibility only private interface/type were modified, one interface was exported with a new method.
    No new tests were added : the exported methods are already tested and no new functionalities were added.
    maxime915 committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    cf3e8ec View commit details
    Browse the repository at this point in the history