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.
Click to show internal directories.
Click to hide internal directories.