Versions in this module Expand all Collapse all v0 v0.0.1 May 21, 2021 Changes in this version + var File_account_proto protoreflect.FileDescriptor + var File_common_proto protoreflect.FileDescriptor + func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer) + type AccountServiceClient interface + Authenticate func(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) + GetCurrentUserProfile func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetCurrentUserProfileResponse, error) + GetUserProfile func(ctx context.Context, in *GetUserProfileRequest, opts ...grpc.CallOption) (*GetUserProfileResponse, error) + func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient + type AccountServiceServer interface + Authenticate func(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) + GetCurrentUserProfile func(context.Context, *Empty) (*GetCurrentUserProfileResponse, error) + GetUserProfile func(context.Context, *GetUserProfileRequest) (*GetUserProfileResponse, error) + type AuthenticateRequest struct + SessionId string + func (*AuthenticateRequest) Descriptor() ([]byte, []int) + func (*AuthenticateRequest) ProtoMessage() + func (x *AuthenticateRequest) GetSessionId() string + func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message + func (x *AuthenticateRequest) Reset() + func (x *AuthenticateRequest) String() string + type AuthenticateResponse struct + UserProfile *CurrentUserProfile + func (*AuthenticateResponse) Descriptor() ([]byte, []int) + func (*AuthenticateResponse) ProtoMessage() + func (x *AuthenticateResponse) GetUserProfile() *CurrentUserProfile + func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message + func (x *AuthenticateResponse) Reset() + func (x *AuthenticateResponse) String() string + type CurrentUserProfile struct + DisplayName string + Email string + ScreenImgUrl *string + UserId string + func (*CurrentUserProfile) Descriptor() ([]byte, []int) + func (*CurrentUserProfile) ProtoMessage() + func (x *CurrentUserProfile) GetDisplayName() string + func (x *CurrentUserProfile) GetEmail() string + func (x *CurrentUserProfile) GetScreenImgUrl() string + func (x *CurrentUserProfile) GetUserId() string + func (x *CurrentUserProfile) ProtoReflect() protoreflect.Message + func (x *CurrentUserProfile) Reset() + func (x *CurrentUserProfile) String() string + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type GetCurrentUserProfileResponse struct + UserProfile *CurrentUserProfile + func (*GetCurrentUserProfileResponse) Descriptor() ([]byte, []int) + func (*GetCurrentUserProfileResponse) ProtoMessage() + func (x *GetCurrentUserProfileResponse) GetUserProfile() *CurrentUserProfile + func (x *GetCurrentUserProfileResponse) ProtoReflect() protoreflect.Message + func (x *GetCurrentUserProfileResponse) Reset() + func (x *GetCurrentUserProfileResponse) String() string + type GetUserProfileRequest struct + UserId string + func (*GetUserProfileRequest) Descriptor() ([]byte, []int) + func (*GetUserProfileRequest) ProtoMessage() + func (x *GetUserProfileRequest) GetUserId() string + func (x *GetUserProfileRequest) ProtoReflect() protoreflect.Message + func (x *GetUserProfileRequest) Reset() + func (x *GetUserProfileRequest) String() string + type GetUserProfileResponse struct + UserProfile *UserProfile + func (*GetUserProfileResponse) Descriptor() ([]byte, []int) + func (*GetUserProfileResponse) ProtoMessage() + func (x *GetUserProfileResponse) GetUserProfile() *UserProfile + func (x *GetUserProfileResponse) ProtoReflect() protoreflect.Message + func (x *GetUserProfileResponse) Reset() + func (x *GetUserProfileResponse) String() string + type UnimplementedAccountServiceServer struct + func (*UnimplementedAccountServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) + func (*UnimplementedAccountServiceServer) GetCurrentUserProfile(context.Context, *Empty) (*GetCurrentUserProfileResponse, error) + func (*UnimplementedAccountServiceServer) GetUserProfile(context.Context, *GetUserProfileRequest) (*GetUserProfileResponse, error) + type UserProfile struct + DisplayName string + ScreenImgUrl *string + UserId string + func (*UserProfile) Descriptor() ([]byte, []int) + func (*UserProfile) ProtoMessage() + func (x *UserProfile) GetDisplayName() string + func (x *UserProfile) GetScreenImgUrl() string + func (x *UserProfile) GetUserId() string + func (x *UserProfile) ProtoReflect() protoreflect.Message + func (x *UserProfile) Reset() + func (x *UserProfile) String() string + type UserRegisteredEvent struct + DisplayName string + Email string + Provider string + UserId string + func (*UserRegisteredEvent) Descriptor() ([]byte, []int) + func (*UserRegisteredEvent) ProtoMessage() + func (x *UserRegisteredEvent) GetDisplayName() string + func (x *UserRegisteredEvent) GetEmail() string + func (x *UserRegisteredEvent) GetProvider() string + func (x *UserRegisteredEvent) GetUserId() string + func (x *UserRegisteredEvent) ProtoReflect() protoreflect.Message + func (x *UserRegisteredEvent) Reset() + func (x *UserRegisteredEvent) String() string