schedulepayout

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNextPayoutDate added in v0.4.0

func GetNextPayoutDate(configuration *configuration.PayoutConfiguration, repos repositories.Repos) (time.Time, error)

GetNextPayoutDate returns date of next scheduled payout or error if payout disabled

func StartScheduledPayout

func StartScheduledPayout(configuration configuration.PayoutConfiguration, privateKey string, repos repositories.Repos)

StartScheduledPayout checks every 24 hours how many days have passed since last payout. If number of passed days is equal or bigger than defined interval in configuration, start automatic payout

Types

This section is empty.

Jump to

Keyboard shortcuts

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