prefimpl

package
v0.0.0-cloud Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideService

func ProvideService(db db.DB, cfg *setting.Cfg, features *featuremgmt.FeatureManager) pref.Service

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) DeleteByUser

func (s *Service) DeleteByUser(ctx context.Context, userID int64) error

func (*Service) Get

func (*Service) GetDefaults

func (s *Service) GetDefaults() *pref.Preference

func (*Service) GetWithDefaults

func (s *Service) GetWithDefaults(ctx context.Context, query *pref.GetPreferenceWithDefaultsQuery) (*pref.Preference, error)

func (*Service) Patch

func (*Service) Save

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL