profiledata

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IProfileDataService

type IProfileDataService interface {
	Get() (*ProfileData, error)
	Save(profileData *ProfileData) error
	Delete() error
}

func NewProfileDataService

func NewProfileDataService(config ProfileDataServiceConfig) IProfileDataService

type ProfileDataService

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

func (*ProfileDataService) Delete

func (s *ProfileDataService) Delete() error

func (*ProfileDataService) Get

func (s *ProfileDataService) Get() (*ProfileData, error)

func (*ProfileDataService) Save

func (s *ProfileDataService) Save(profileData *ProfileData) error

type ProfileDataServiceConfig

type ProfileDataServiceConfig struct {
	ProfileDataStore Store
}

Jump to

Keyboard shortcuts

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