Documentation
¶
Index ¶
- type ClientExposureDetailStorageImpl
- func (s *ClientExposureDetailStorageImpl) FindAll(ctx context.Context) ([]*java2go.ClientExposure, error)
- func (s *ClientExposureDetailStorageImpl) FindAllByClientId(ctx context.Context, clientId int64) ([]*java2go.ClientExposure, error)
- func (s *ClientExposureDetailStorageImpl) FindByClientIdAndExposureCurrency(ctx context.Context, clientId int64, exposureCurrency string) (*java2go.ClientExposure, error)
- func (s *ClientExposureDetailStorageImpl) Save(ctx context.Context, detail *java2go.ClientExposure) error
- type ClientExposureStorageImpl
- type CurrencyRateStorageImpl
- func (s *CurrencyRateStorageImpl) FindAll(ctx context.Context) ([]*java2go.CurrencyRate, error)
- func (s *CurrencyRateStorageImpl) FindByBaseCurrencyAndQuotedCurrency(ctx context.Context, baseCurrency, quotedCurrency string) (*java2go.CurrencyRate, error)
- func (s *CurrencyRateStorageImpl) SaveRate(ctx context.Context, rate *java2go.CurrencyRate) error
- type DealStorageImpl
- type PgPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientExposureDetailStorageImpl ¶
type ClientExposureDetailStorageImpl struct {
Postgres *PgPool
}
func (*ClientExposureDetailStorageImpl) FindAll ¶
func (s *ClientExposureDetailStorageImpl) FindAll(ctx context.Context) ([]*java2go.ClientExposure, error)
func (*ClientExposureDetailStorageImpl) FindAllByClientId ¶
func (s *ClientExposureDetailStorageImpl) FindAllByClientId(ctx context.Context, clientId int64) ([]*java2go.ClientExposure, error)
func (*ClientExposureDetailStorageImpl) FindByClientIdAndExposureCurrency ¶
func (s *ClientExposureDetailStorageImpl) FindByClientIdAndExposureCurrency(ctx context.Context, clientId int64, exposureCurrency string) (*java2go.ClientExposure, error)
func (*ClientExposureDetailStorageImpl) Save ¶
func (s *ClientExposureDetailStorageImpl) Save(ctx context.Context, detail *java2go.ClientExposure) error
type ClientExposureStorageImpl ¶
type ClientExposureStorageImpl struct {
Postgres *PgPool
}
func (*ClientExposureStorageImpl) FindByClientId ¶
func (s *ClientExposureStorageImpl) FindByClientId(ctx context.Context, clientId int64) (*java2go.ClientExposure, error)
func (*ClientExposureStorageImpl) Save ¶
func (s *ClientExposureStorageImpl) Save(ctx context.Context, exposure *java2go.ClientExposure) error
type CurrencyRateStorageImpl ¶
type CurrencyRateStorageImpl struct {
Postgres *PgPool
}
func (*CurrencyRateStorageImpl) FindAll ¶
func (s *CurrencyRateStorageImpl) FindAll(ctx context.Context) ([]*java2go.CurrencyRate, error)
func (*CurrencyRateStorageImpl) FindByBaseCurrencyAndQuotedCurrency ¶
func (s *CurrencyRateStorageImpl) FindByBaseCurrencyAndQuotedCurrency(ctx context.Context, baseCurrency, quotedCurrency string) (*java2go.CurrencyRate, error)
func (*CurrencyRateStorageImpl) SaveRate ¶
func (s *CurrencyRateStorageImpl) SaveRate(ctx context.Context, rate *java2go.CurrencyRate) error
type DealStorageImpl ¶
type DealStorageImpl struct {
Postgres *PgPool
}
func (*DealStorageImpl) FindAllByClientId ¶
Click to show internal directories.
Click to hide internal directories.