Documentation ¶
Index ¶
- type EmailIncsonsistentWithProfileIDError
- type ProfileAlreadyExistsError
- type ProfileNotFoundError
- type Service
- type ServiceImpl
- func (svc ServiceImpl) CreateProfile(ctx context.Context, profileData entity.ProfileData) (entity.CreateProfileResult, error)
- func (svc ServiceImpl) DeleteProfile(ctx context.Context, profileID string) error
- func (svc ServiceImpl) GetProfile(ctx context.Context, profileID string) (entity.Profile, error)
- func (svc ServiceImpl) UpdateProfile(ctx context.Context, profileData entity.ProfileData, profileID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailIncsonsistentWithProfileIDError ¶
type EmailIncsonsistentWithProfileIDError struct {
// contains filtered or unexported fields
}
func (EmailIncsonsistentWithProfileIDError) Error ¶
func (e EmailIncsonsistentWithProfileIDError) Error() string
type ProfileAlreadyExistsError ¶
type ProfileAlreadyExistsError struct {
// contains filtered or unexported fields
}
func (ProfileAlreadyExistsError) Error ¶
func (e ProfileAlreadyExistsError) Error() string
type ProfileNotFoundError ¶
type ProfileNotFoundError struct {
// contains filtered or unexported fields
}
func (ProfileNotFoundError) Error ¶
func (e ProfileNotFoundError) Error() string
type Service ¶
type Service interface { CreateProfile(ctx context.Context, profile entity.ProfileData) (entity.CreateProfileResult, error) GetProfile(ctx context.Context, profileID string) (entity.Profile, error) UpdateProfile(ctx context.Context, profile entity.ProfileData, profileID string) error DeleteProfile(ctx context.Context, profileID string) error }
type ServiceImpl ¶
func (ServiceImpl) CreateProfile ¶
func (svc ServiceImpl) CreateProfile(ctx context.Context, profileData entity.ProfileData) (entity.CreateProfileResult, error)
func (ServiceImpl) DeleteProfile ¶
func (svc ServiceImpl) DeleteProfile(ctx context.Context, profileID string) error
func (ServiceImpl) GetProfile ¶
func (ServiceImpl) UpdateProfile ¶
func (svc ServiceImpl) UpdateProfile(ctx context.Context, profileData entity.ProfileData, profileID string) error
Click to show internal directories.
Click to hide internal directories.