15 lines
369 B
Go
15 lines
369 B
Go
package signal
|
|
|
|
type SignalType string
|
|
|
|
const (
|
|
Wallet = SignalType("wallet")
|
|
SignTransactions = SignalType("wallet.sign.transactions")
|
|
SuggestedRoutes = SignalType("wallet.suggested.routes")
|
|
)
|
|
|
|
// SendWalletEvent sends event from services/wallet/events.
|
|
func SendWalletEvent(signalType SignalType, event interface{}) {
|
|
send(string(signalType), event)
|
|
}
|