Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinService ¶
type CoinService struct {
// contains filtered or unexported fields
}
func CreateCoinSrv ¶
func CreateCoinSrv(repo ports.CoinRepo, api ports.CoinGeckoApi) *CoinService
func (*CoinService) GetAll ¶
func (srv *CoinService) GetAll() []domain.Coin
func (*CoinService) GetBySymbol ¶
func (srv *CoinService) GetBySymbol(sym string) domain.Coin
func (*CoinService) StartService ¶
func (srv *CoinService) StartService(ids []string) (chan []domain.Coin, func())
type FlipSrv ¶
type FlipSrv struct {
// contains filtered or unexported fields
}
func CreateFlipSrv ¶
func CreateFlipSrv(repo ports.FlipRepo, coinSrv CoinService) *FlipSrv
func (*FlipSrv) Get ¶
func (srv *FlipSrv) Get() domain.Flippening
func (*FlipSrv) StartService ¶
type GasSrv ¶
type GasSrv struct {
// contains filtered or unexported fields
}
func (*GasSrv) StartService ¶
func (srv *GasSrv) StartService() func()
Click to show internal directories.
Click to hide internal directories.