Documentation ¶
Index ¶
- type Service
- func (s *Service) HandleRefreshEvent(ctx context.Context, _ proton.RefreshFlag) error
- func (s *Service) HandleUserSettingsEvent(_ context.Context, settings *proton.UserSettings) error
- func (s *Service) IsTelemetryEnabled(ctx context.Context) bool
- func (s *Service) Start(ctx context.Context, group *orderedtasks.OrderedCancelGroup)
- type SettingsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( userID string, settingsGetter SettingsGetter, eventService userevents.Subscribable, ) *Service
func (*Service) HandleRefreshEvent ¶
func (*Service) HandleUserSettingsEvent ¶
func (*Service) Start ¶
func (s *Service) Start(ctx context.Context, group *orderedtasks.OrderedCancelGroup)
type SettingsGetter ¶
Click to show internal directories.
Click to hide internal directories.