status-go/services/local_pairing/events.go

26 lines
548 B
Go
Raw Normal View History

2022-01-27 09:52:13 +00:00
package local_pairing
// EventType type for event types.
type EventType string
const (
EventConnectionError EventType = "connection-error"
EventConnectionSuccess EventType = "connection-success"
EventTransferError EventType = "transfer-error"
EventTransferSuccess EventType = "transfer-success"
EventDecryptionError EventType = "decryption-error"
EventInstallationError EventType = "installation-error"
EventSuccess EventType = "success"
)
// Event is a type for transfer events.
type Event struct {
Type EventType `json:"type"`
}