Versions in this module Expand all Collapse all v1 v1.1.1 Mar 19, 2026 v1.1.0 Mar 17, 2026 Changes in this version + var DefaultLocale = &commonpb.Locale + var DefaultRegion = &commonpb.Region + var ErrNotFound = errors.New("not found") + type Server struct + func NewServer(log *zap.Logger, authz auth.Authorizer, store Store) *Server + func (s *Server) UpdateSettings(ctx context.Context, req *settingspb.UpdateSettingsRequest) (*settingspb.UpdateSettingsResponse, error) + type Settings struct + Locale *commonpb.Locale + Region *commonpb.Region + type Store interface + GetSettings func(ctx context.Context, userID *commonpb.UserId) (*Settings, error) + SetLocale func(ctx context.Context, userID *commonpb.UserId, locale *commonpb.Locale) error + SetRegion func(ctx context.Context, userID *commonpb.UserId, region *commonpb.Region) error