referral

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package referral ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SenderReward   int
	ReceiverReward int
	ThresholdUPDV  int
	ThresholdDays  int
}

Config ...

type Rewarder

type Rewarder struct {
	// contains filtered or unexported fields
}

Rewarder ...

func NewRewarder

NewRewarder creates a new instance of Rewarder.

func (*Rewarder) Run

func (r *Rewarder) Run(ctx context.Context, interval time.Duration)

Run runs the rewarder check referral status loop.

Jump to

Keyboard shortcuts

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