status-go/services/accounts/settingsevent/events.go

18 lines
397 B
Go
Raw Normal View History

package settingsevent
import "github.com/status-im/status-go/multiaccounts/settings"
// EventType type for event types.
type EventType string
// Event is a type for accounts events.
type Event struct {
Type EventType `json:"type"`
Setting settings.SettingField `json:"setting"`
Value interface{} `json:"value"`
}
const (
EventTypeChanged EventType = "changed"
)