Documentation ¶
Index ¶
- Constants
- type ProfileServiceHandler
- func (h *ProfileServiceHandler) DeleteProfilePicture(ctx context.Context, _ *emptypb.Empty) (res *emptypb.Empty, err error)
- func (h *ProfileServiceHandler) GetEmail(ctx context.Context, _ *emptypb.Empty) (res *profiles_service.GetEmailResponse, err error)
- func (h *ProfileServiceHandler) GetProfile(ctx context.Context, _ *emptypb.Empty) (res *profiles_service.GetProfileResponse, err error)
- func (h *ProfileServiceHandler) UpdateProfilePicture(ctx context.Context, in *profiles_service.UpdateProfilePictureRequest) (res *emptypb.Empty, err error)
Constants ¶
View Source
const (
AccountIDContext = "X-Account-Id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileServiceHandler ¶
type ProfileServiceHandler struct { profiles_service.UnimplementedProfilesServiceV1Server // contains filtered or unexported fields }
func NewProfilesServiceHandler ¶
func NewProfilesServiceHandler(s service.ProfilesService) *ProfileServiceHandler
func (*ProfileServiceHandler) DeleteProfilePicture ¶
func (*ProfileServiceHandler) GetEmail ¶
func (h *ProfileServiceHandler) GetEmail(ctx context.Context, _ *emptypb.Empty) (res *profiles_service.GetEmailResponse, err error)
func (*ProfileServiceHandler) GetProfile ¶
func (h *ProfileServiceHandler) GetProfile(ctx context.Context, _ *emptypb.Empty) (res *profiles_service.GetProfileResponse, err error)
func (*ProfileServiceHandler) UpdateProfilePicture ¶
func (h *ProfileServiceHandler) UpdateProfilePicture(ctx context.Context, in *profiles_service.UpdateProfilePictureRequest) (res *emptypb.Empty, err error)
Click to show internal directories.
Click to hide internal directories.