Documentation ¶
Index ¶
- type Auth
- type Converter
- func (c *Converter) AddUserConverterWay(ctx context.Context, chatId int64, converterPair core.ConverterPair) error
- func (c *Converter) GetAvailableConverterWay(ctx context.Context, chatId int64) ([]core.ConverterPair, error)
- func (c *Converter) GetCurrentExchange(ctx context.Context, chatId int64, converterPair core.ConverterPair) (core.Exchange, error)
- func (c *Converter) GetMyConverterWay(ctx context.Context, chatId int64) ([]core.ConverterPair, error)
- type Currency
- func (c Currency) AddUserCurrency(ctx context.Context, chatId int64, currency core.FullCurrency) error
- func (c Currency) GetAvailableBanks(ctx context.Context, chatId int64, currencyCode core.CurrencyCode) ([]core.CurrencyBank, error)
- func (c Currency) GetAvailableCurrencies(ctx context.Context, chatId int64, currencyType core.CurrencyType) ([]core.CurrencyCode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func NewAuth ¶
func NewAuth(grpcConn grpc.ClientConnInterface) *Auth
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
func NewConverter ¶
func NewConverter(grpcConn grpc.ClientConnInterface) *Converter
func (*Converter) AddUserConverterWay ¶
func (*Converter) GetAvailableConverterWay ¶
func (*Converter) GetCurrentExchange ¶
func (*Converter) GetMyConverterWay ¶
type Currency ¶
type Currency struct {
// contains filtered or unexported fields
}
func NewCurrency ¶
func NewCurrency(grpcConn grpc.ClientConnInterface) *Currency
func (Currency) AddUserCurrency ¶
func (Currency) GetAvailableBanks ¶
func (c Currency) GetAvailableBanks(ctx context.Context, chatId int64, currencyCode core.CurrencyCode) ([]core.CurrencyBank, error)
func (Currency) GetAvailableCurrencies ¶
func (c Currency) GetAvailableCurrencies(ctx context.Context, chatId int64, currencyType core.CurrencyType) ([]core.CurrencyCode, error)
Click to show internal directories.
Click to hide internal directories.