Click (click v0.1.0) View Source
A click is the composite of an IP address, a timestamp, and a click amount
Link to this section Summary
Functions
This method used to distribute record based on hour time in the period
Create a new Click with value as the given 'data'
It will process click json and returns the resultset We will filter if an IP has more than 10 clicks in a day
Link to this section Types
Specs
click() :: %{ip: String.t(), timestamp: Calendar.datetime(), amount: float()}
Link to this section Functions
This method used to distribute record based on hour time in the period
Specs
Create a new Click with value as the given 'data'
It will process click json and returns the resultset We will filter if an IP has more than 10 clicks in a day