download

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultFRBDownloadURLTemplate = "https://frbservices.org/EPaymentsDirectory/directories/%s?format=json"

Variables

View Source
var (
	ErrMissingConfigValue   = errors.New("missing config value")
	ErrMissingRoutingNumber = errors.New("missing routing number")
	ErrMissingDownloadCD    = errors.New("missing download code")
)

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(opts *ClientOpts) (*Client, error)

func (*Client) GetList

func (c *Client) GetList(listName string) (io.Reader, error)

GetList downloads an FRB list and saves it into an io.Reader. Example listName values: fedach, fedwire

type ClientOpts

type ClientOpts struct {
	HTTPClient                               *http.Client
	RoutingNumber, DownloadCode, DownloadURL string
}

Jump to

Keyboard shortcuts

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