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
}
Click to show internal directories.
Click to hide internal directories.