This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Plaid.Connect do | |
@moduledoc """ | |
Functions for working with Plaid Connect. | |
Through this API you can: | |
* Add a Plaid Connect user | |
* Register a webhook for a user | |
* Fetch user account data | |
* Fetch user transaction data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Supervisor which starts pipeline. | |
defmodule Pipeline.Supervisor do | |
use Supervisor | |
alias Pipeline.{Collector, Requestor, Loader} | |
def start_link do | |
Supervisor.start_link(__MODULE__, :ok, name: __MODULE__) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Pipeline.Metrics do | |
defstruct transaction: nil, key: nil, action: nil | |
use GenServer | |
require Logger | |
@namespace :pipeline | |
def start_link do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func debounce(f func(), delay string) func() { | |
var t *time.Timer | |
count := 0 |