contact

package
v0.0.0-...-a57e244 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug   bool    `yaml:"debug" json:"debug"`
	Amount  float64 `yaml:"amount" json:"amount"`
	Country string  `yaml:"country" json:"country"`
	Bank    string  `yaml:"bank" json:"bank"`
}

type Provider

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

func NewProvider

func NewProvider(cfg Config) (*Provider, error)

func (*Provider) CurrentRate

func (p *Provider) CurrentRate(ctx context.Context) (float64, error)

func (*Provider) Name

func (p *Provider) Name() string

Jump to

Keyboard shortcuts

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