Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plaid ¶
func NewPlaid ¶
func NewPlaid(config PlaidConfig) (p *Plaid, err error)
func (*Plaid) PlaidLink ¶
func (p *Plaid) PlaidLink(settings Settings, tokChan chan<- plaid.ExchangePublicTokenResponse, errChan chan<- error)
TODO: load assets into binary https://tech.townsourced.com/post/embedding-static-files-in-go/ (probably with vfsgen, but maybe filb0x)
type PlaidConfig ¶
type PlaidConfig struct { ClientID string `yaml:"client_id"` PublicKey string `yaml:"public_key"` Environments []PlaidEnvironment `yaml:"environments"` Users []User `yaml:"users"` }
type PlaidEnvironment ¶
type PlaidInstitution ¶
type User ¶
type User struct { LedgerFileName string `yaml:"ledger_file_name"` Institutions []PlaidInstitution `yaml:"institutions"` }
Click to show internal directories.
Click to hide internal directories.