ferp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ferp

type Ferp interface {
	Start(shutdownCtx context.Context, waitGroup *sync.WaitGroup)
	GetRate(currency string) (*rate.CurrencyRate, error)
}

func NewService

func NewService(address string) Ferp

type FerpService

type FerpService struct {
	FerpRpc     ferp.Ferp
	RatesClient ferprpc.RateService_SubscribeRatesClient
	// contains filtered or unexported fields
}

func (*FerpService) GetRate

func (s *FerpService) GetRate(currency string) (*rate.CurrencyRate, error)

func (*FerpService) Start

func (s *FerpService) Start(shutdownCtx context.Context, waitGroup *sync.WaitGroup)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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