Documentation ¶ Index ¶ func Generate(url string, days int, apr float64, outpath string) (resdata []byte, err error) type Distribution type Receiver type Report Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(url string, days int, apr float64, outpath string) (resdata []byte, err error) Types ¶ type Distribution ¶ type Distribution = []Receiver type Receiver ¶ type Receiver = struct { Address string `json:"address"` Value string `json:"value"` } type Report ¶ type Report struct { Users int `json:"users"` Days int `json:"days"` Apr float64 `json:"apr"` Delegated currencies `json:"delegated"` Rewards currencies `json:"rewards"` Distribution Distribution `json:"distribution"` } Source Files ¶ View all Source files main.go types.go utils.go Click to show internal directories. Click to hide internal directories.