Documentation ¶
Index ¶
- type Bus
- type Model
- type Withdrawals
- func (w *Withdrawals) AppendBtcWithdrawal(withdrawal types.Withdrawal)
- func (w *Withdrawals) AppendMntWithdrawal(withdrawal types.Withdrawal)
- func (w *Withdrawals) Commit() error
- func (w *Withdrawals) Export(state *types.AppState)
- func (w *Withdrawals) GetBtcListAndClear(limit int64) []types.Withdrawal
- func (w *Withdrawals) GetMntListAndClear() []types.Withdrawal
- func (w *Withdrawals) IsBtcEmpty() bool
- func (w *Withdrawals) IsMntEmpty() bool
- func (w *Withdrawals) LoadWithdrawals()
- func (w *Withdrawals) SetBtcWithdrawals(withdrawals []types.Withdrawal)
- func (w *Withdrawals) SetMntWithdrawals(withdrawals []types.Withdrawal)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func NewBus ¶
func NewBus(withdrawals *Withdrawals) *Bus
func (*Bus) GetBtcWithdrawals ¶
func (b *Bus) GetBtcWithdrawals() *[]types.Withdrawal
func (*Bus) GetMntWithdrawals ¶
func (b *Bus) GetMntWithdrawals() *[]types.Withdrawal
type Model ¶
type Model struct { List []types.Withdrawal // contains filtered or unexported fields }
func (*Model) Append ¶
func (m *Model) Append(withdrawal types.Withdrawal)
type Withdrawals ¶
type Withdrawals struct {
// contains filtered or unexported fields
}
func NewWithdrawals ¶
func (*Withdrawals) AppendBtcWithdrawal ¶
func (w *Withdrawals) AppendBtcWithdrawal(withdrawal types.Withdrawal)
func (*Withdrawals) AppendMntWithdrawal ¶
func (w *Withdrawals) AppendMntWithdrawal(withdrawal types.Withdrawal)
func (*Withdrawals) Commit ¶
func (w *Withdrawals) Commit() error
func (*Withdrawals) Export ¶
func (w *Withdrawals) Export(state *types.AppState)
func (*Withdrawals) GetBtcListAndClear ¶
func (w *Withdrawals) GetBtcListAndClear(limit int64) []types.Withdrawal
func (*Withdrawals) GetMntListAndClear ¶
func (w *Withdrawals) GetMntListAndClear() []types.Withdrawal
func (*Withdrawals) IsBtcEmpty ¶
func (w *Withdrawals) IsBtcEmpty() bool
func (*Withdrawals) IsMntEmpty ¶
func (w *Withdrawals) IsMntEmpty() bool
func (*Withdrawals) LoadWithdrawals ¶
func (w *Withdrawals) LoadWithdrawals()
func (*Withdrawals) SetBtcWithdrawals ¶
func (w *Withdrawals) SetBtcWithdrawals(withdrawals []types.Withdrawal)
func (*Withdrawals) SetMntWithdrawals ¶
func (w *Withdrawals) SetMntWithdrawals(withdrawals []types.Withdrawal)
Click to show internal directories.
Click to hide internal directories.