Debian Codegraph @

core_settings_type.go

raw
1 package proton
2
3 type UserSettings struct {
4 Telemetry SettingsBool
5 CrashReports SettingsBool
6 }
7
8 type SetTelemetryReq struct {
9 Telemetry SettingsBool
10 }
11
12 type SetCrashReportReq struct {
13 CrashReports SettingsBool
14 }
15 type SettingsBool int
16
17 const (
18 SettingDisabled SettingsBool = iota
19 SettingEnabled
20 )