Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
ProcessWalletCommand(command query.WalletCommanderCommand)
UpdateClientConnected(clientId string, conncted bool)
}
func New ¶
func New(vault vault.Vault, store store.Store, client client.Client, eaClient *earnalliance.EarnAllianceClient) (Controller, error)
func NewDevController ¶
func NewDevController(store store.Store, mode types.DevMockMode) Controller
type DevController ¶
type DevController struct {
// contains filtered or unexported fields
}
func (*DevController) ProcessWalletCommand ¶
func (d *DevController) ProcessWalletCommand(command query.WalletCommanderCommand)
func (*DevController) UpdateClientConnected ¶ added in v0.1.5
func (d *DevController) UpdateClientConnected(clientId string, connected bool)
type WalletCommanderController ¶
type WalletCommanderController struct {
// contains filtered or unexported fields
}
func (*WalletCommanderController) ProcessWalletCommand ¶
func (w *WalletCommanderController) ProcessWalletCommand(command query.WalletCommanderCommand)
func (*WalletCommanderController) UpdateClientConnected ¶ added in v0.1.5
func (w *WalletCommanderController) UpdateClientConnected(clientId string, connected bool)
Click to show internal directories.
Click to hide internal directories.