bank

package
v0.0.0-...-1c0f6f5 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCurrency

func ParseCurrency(value string) float64

Types

type BankResponse

type BankResponse struct {
	XMLName xml.Name `xml:"ValCurs"`
	Valutes []Valute `xml:"Valute"`
	Date    string   `xml:"Date,attr"`
	Name    string   `xml:"name,attr"`
}

type BankWidget

type BankWidget struct {
	widgets.BaseWidget
	// contains filtered or unexported fields
}

func NewBankWidget

func NewBankWidget() *BankWidget

func (*BankWidget) ProcessEvent

func (self *BankWidget) ProcessEvent(e *evt.Event)

func (*BankWidget) Render

func (self *BankWidget) Render()

type ConvertRate

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

type Valute

type Valute struct {
	NumCode  string `xml:"NumCode"`
	CharCode string `xml:"CharCode"`
	Nominal  string `xml:"Nominal"`
	Name     string `xml:"Name"`
	Value    string `xml:"Value"`
}

Jump to

Keyboard shortcuts

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