Documentation ¶
Index ¶
- Variables
- func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetPasswordNew() string
- func (x *ChangePasswordRequest) GetPasswordOld() string
- func (x *ChangePasswordRequest) GetUserID() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetSuccess() bool
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- type GetProfileRequest
- func (*GetProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileRequest) GetAppID() string
- func (x *GetProfileRequest) GetUserID() string
- func (*GetProfileRequest) ProtoMessage()
- func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetProfileRequest) Reset()
- func (x *GetProfileRequest) String() string
- type GetUserSocialIdentitiesRequest
- func (*GetUserSocialIdentitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSocialIdentitiesRequest) GetAppID() string
- func (x *GetUserSocialIdentitiesRequest) GetUserID() string
- func (*GetUserSocialIdentitiesRequest) ProtoMessage()
- func (x *GetUserSocialIdentitiesRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSocialIdentitiesRequest) Reset()
- func (x *GetUserSocialIdentitiesRequest) String() string
- type ProfileResponse
- func (*ProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResponse) GetAddress1() string
- func (x *ProfileResponse) GetAddress2() string
- func (x *ProfileResponse) GetBirthDate() *timestamp.Timestamp
- func (x *ProfileResponse) GetCity() string
- func (x *ProfileResponse) GetCountry() string
- func (x *ProfileResponse) GetCurrency() string
- func (x *ProfileResponse) GetEmail() string
- func (x *ProfileResponse) GetFirstName() string
- func (x *ProfileResponse) GetLanguage() string
- func (x *ProfileResponse) GetLastName() string
- func (x *ProfileResponse) GetPhone() string
- func (x *ProfileResponse) GetPhotoURL() string
- func (x *ProfileResponse) GetRoles() []string
- func (x *ProfileResponse) GetState() string
- func (x *ProfileResponse) GetUserID() string
- func (x *ProfileResponse) GetUsername() string
- func (x *ProfileResponse) GetZip() string
- func (*ProfileResponse) ProtoMessage()
- func (x *ProfileResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileResponse) Reset()
- func (x *ProfileResponse) String() string
- type ServiceClient
- type ServiceServer
- type SetProfileRequest
- func (*SetProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetProfileRequest) GetAddress1() string
- func (x *SetProfileRequest) GetAddress2() string
- func (x *SetProfileRequest) GetAppID() string
- func (x *SetProfileRequest) GetBirthDate() *timestamp.Timestamp
- func (x *SetProfileRequest) GetCity() string
- func (x *SetProfileRequest) GetCountry() string
- func (x *SetProfileRequest) GetCurrency() string
- func (x *SetProfileRequest) GetFirstName() string
- func (x *SetProfileRequest) GetLanguage() string
- func (x *SetProfileRequest) GetLastName() string
- func (x *SetProfileRequest) GetPhone() string
- func (x *SetProfileRequest) GetPhotoURL() string
- func (x *SetProfileRequest) GetState() string
- func (x *SetProfileRequest) GetUserID() string
- func (x *SetProfileRequest) GetZip() string
- func (*SetProfileRequest) ProtoMessage()
- func (x *SetProfileRequest) ProtoReflect() protoreflect.Message
- func (x *SetProfileRequest) Reset()
- func (x *SetProfileRequest) String() string
- type UnimplementedServiceServer
- func (*UnimplementedServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (*UnimplementedServiceServer) GetProfile(context.Context, *GetProfileRequest) (*ProfileResponse, error)
- func (*UnimplementedServiceServer) GetUserSocialIdentities(context.Context, *GetUserSocialIdentitiesRequest) (*UserSocialIdentitiesResponse, error)
- func (*UnimplementedServiceServer) SetProfile(context.Context, *SetProfileRequest) (*ProfileResponse, error)
- type UserIdentity
- func (*UserIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *UserIdentity) GetEmail() string
- func (x *UserIdentity) GetExternalID() string
- func (x *UserIdentity) GetName() string
- func (x *UserIdentity) GetProvider() string
- func (x *UserIdentity) GetUsername() string
- func (*UserIdentity) ProtoMessage()
- func (x *UserIdentity) ProtoReflect() protoreflect.Message
- func (x *UserIdentity) Reset()
- func (x *UserIdentity) String() string
- type UserSocialIdentitiesResponse
- func (*UserSocialIdentitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserSocialIdentitiesResponse) GetIdentities() []*UserIdentity
- func (*UserSocialIdentitiesResponse) ProtoMessage()
- func (x *UserSocialIdentitiesResponse) ProtoReflect() protoreflect.Message
- func (x *UserSocialIdentitiesResponse) Reset()
- func (x *UserSocialIdentitiesResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_internal_grpc_proto_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
Types ¶
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` PasswordOld string `protobuf:"bytes,2,opt,name=passwordOld,proto3" json:"passwordOld,omitempty"` PasswordNew string `protobuf:"bytes,3,opt,name=passwordNew,proto3" json:"passwordNew,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetPasswordNew ¶
func (x *ChangePasswordRequest) GetPasswordNew() string
func (*ChangePasswordRequest) GetPasswordOld ¶
func (x *ChangePasswordRequest) GetPasswordOld() string
func (*ChangePasswordRequest) GetUserID ¶
func (x *ChangePasswordRequest) GetUserID() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type ChangePasswordResponse ¶
type ChangePasswordResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordResponse) Descriptor
deprecated
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) GetSuccess ¶
func (x *ChangePasswordResponse) GetSuccess() bool
func (*ChangePasswordResponse) ProtoMessage ¶
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶
func (x *ChangePasswordResponse) String() string
type GetProfileRequest ¶
type GetProfileRequest struct { AppID string `protobuf:"bytes,1,opt,name=AppID,proto3" json:"AppID,omitempty"` UserID string `protobuf:"bytes,2,opt,name=UserID,proto3" json:"UserID,omitempty"` // contains filtered or unexported fields }
func (*GetProfileRequest) Descriptor
deprecated
func (*GetProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) GetAppID ¶
func (x *GetProfileRequest) GetAppID() string
func (*GetProfileRequest) GetUserID ¶
func (x *GetProfileRequest) GetUserID() string
func (*GetProfileRequest) ProtoMessage ¶
func (*GetProfileRequest) ProtoMessage()
func (*GetProfileRequest) ProtoReflect ¶
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProfileRequest) Reset ¶
func (x *GetProfileRequest) Reset()
func (*GetProfileRequest) String ¶
func (x *GetProfileRequest) String() string
type GetUserSocialIdentitiesRequest ¶
type GetUserSocialIdentitiesRequest struct { AppID string `protobuf:"bytes,1,opt,name=appID,proto3" json:"appID,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*GetUserSocialIdentitiesRequest) Descriptor
deprecated
func (*GetUserSocialIdentitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSocialIdentitiesRequest.ProtoReflect.Descriptor instead.
func (*GetUserSocialIdentitiesRequest) GetAppID ¶
func (x *GetUserSocialIdentitiesRequest) GetAppID() string
func (*GetUserSocialIdentitiesRequest) GetUserID ¶
func (x *GetUserSocialIdentitiesRequest) GetUserID() string
func (*GetUserSocialIdentitiesRequest) ProtoMessage ¶
func (*GetUserSocialIdentitiesRequest) ProtoMessage()
func (*GetUserSocialIdentitiesRequest) ProtoReflect ¶
func (x *GetUserSocialIdentitiesRequest) ProtoReflect() protoreflect.Message
func (*GetUserSocialIdentitiesRequest) Reset ¶
func (x *GetUserSocialIdentitiesRequest) Reset()
func (*GetUserSocialIdentitiesRequest) String ¶
func (x *GetUserSocialIdentitiesRequest) String() string
type ProfileResponse ¶
type ProfileResponse struct { UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"` // Email string `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"` Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"` // Phone string `protobuf:"bytes,4,opt,name=Phone,proto3" json:"Phone,omitempty"` // Address1 string `protobuf:"bytes,5,opt,name=Address1,proto3" json:"Address1,omitempty"` Address2 string `protobuf:"bytes,6,opt,name=Address2,proto3" json:"Address2,omitempty"` City string `protobuf:"bytes,7,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,8,opt,name=State,proto3" json:"State,omitempty"` Country string `protobuf:"bytes,9,opt,name=Country,proto3" json:"Country,omitempty"` Zip string `protobuf:"bytes,10,opt,name=Zip,proto3" json:"Zip,omitempty"` // PhotoURL string `protobuf:"bytes,11,opt,name=PhotoURL,proto3" json:"PhotoURL,omitempty"` FirstName string `protobuf:"bytes,12,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,13,opt,name=LastName,proto3" json:"LastName,omitempty"` BirthDate *timestamp.Timestamp `protobuf:"bytes,14,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` // Language string `protobuf:"bytes,15,opt,name=Language,proto3" json:"Language,omitempty"` Currency string `protobuf:"bytes,16,opt,name=Currency,proto3" json:"Currency,omitempty"` // Roles []string `protobuf:"bytes,17,rep,name=Roles,proto3" json:"Roles,omitempty"` // contains filtered or unexported fields }
func (*ProfileResponse) Descriptor
deprecated
func (*ProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResponse.ProtoReflect.Descriptor instead.
func (*ProfileResponse) GetAddress1 ¶
func (x *ProfileResponse) GetAddress1() string
func (*ProfileResponse) GetAddress2 ¶
func (x *ProfileResponse) GetAddress2() string
func (*ProfileResponse) GetBirthDate ¶
func (x *ProfileResponse) GetBirthDate() *timestamp.Timestamp
func (*ProfileResponse) GetCity ¶
func (x *ProfileResponse) GetCity() string
func (*ProfileResponse) GetCountry ¶
func (x *ProfileResponse) GetCountry() string
func (*ProfileResponse) GetCurrency ¶
func (x *ProfileResponse) GetCurrency() string
func (*ProfileResponse) GetEmail ¶
func (x *ProfileResponse) GetEmail() string
func (*ProfileResponse) GetFirstName ¶
func (x *ProfileResponse) GetFirstName() string
func (*ProfileResponse) GetLanguage ¶
func (x *ProfileResponse) GetLanguage() string
func (*ProfileResponse) GetLastName ¶
func (x *ProfileResponse) GetLastName() string
func (*ProfileResponse) GetPhone ¶
func (x *ProfileResponse) GetPhone() string
func (*ProfileResponse) GetPhotoURL ¶
func (x *ProfileResponse) GetPhotoURL() string
func (*ProfileResponse) GetRoles ¶
func (x *ProfileResponse) GetRoles() []string
func (*ProfileResponse) GetState ¶
func (x *ProfileResponse) GetState() string
func (*ProfileResponse) GetUserID ¶
func (x *ProfileResponse) GetUserID() string
func (*ProfileResponse) GetUsername ¶
func (x *ProfileResponse) GetUsername() string
func (*ProfileResponse) GetZip ¶
func (x *ProfileResponse) GetZip() string
func (*ProfileResponse) ProtoMessage ¶
func (*ProfileResponse) ProtoMessage()
func (*ProfileResponse) ProtoReflect ¶
func (x *ProfileResponse) ProtoReflect() protoreflect.Message
func (*ProfileResponse) Reset ¶
func (x *ProfileResponse) Reset()
func (*ProfileResponse) String ¶
func (x *ProfileResponse) String() string
type ServiceClient ¶
type ServiceClient interface { GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*ProfileResponse, error) SetProfile(ctx context.Context, in *SetProfileRequest, opts ...grpc.CallOption) (*ProfileResponse, error) // ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) // GetUserSocialIdentities(ctx context.Context, in *GetUserSocialIdentitiesRequest, opts ...grpc.CallOption) (*UserSocialIdentitiesResponse, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { GetProfile(context.Context, *GetProfileRequest) (*ProfileResponse, error) SetProfile(context.Context, *SetProfileRequest) (*ProfileResponse, error) // ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) // GetUserSocialIdentities(context.Context, *GetUserSocialIdentitiesRequest) (*UserSocialIdentitiesResponse, error) }
ServiceServer is the server API for Service service.
type SetProfileRequest ¶
type SetProfileRequest struct { AppID string `protobuf:"bytes,1,opt,name=AppID,proto3" json:"AppID,omitempty"` UserID string `protobuf:"bytes,2,opt,name=UserID,proto3" json:"UserID,omitempty"` // Address1 string `protobuf:"bytes,3,opt,name=Address1,proto3" json:"Address1,omitempty"` Address2 string `protobuf:"bytes,4,opt,name=Address2,proto3" json:"Address2,omitempty"` City string `protobuf:"bytes,5,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,6,opt,name=State,proto3" json:"State,omitempty"` Country string `protobuf:"bytes,7,opt,name=Country,proto3" json:"Country,omitempty"` Zip string `protobuf:"bytes,8,opt,name=Zip,proto3" json:"Zip,omitempty"` // PhotoURL string `protobuf:"bytes,9,opt,name=PhotoURL,proto3" json:"PhotoURL,omitempty"` FirstName string `protobuf:"bytes,10,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,11,opt,name=LastName,proto3" json:"LastName,omitempty"` BirthDate *timestamp.Timestamp `protobuf:"bytes,12,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` // Language string `protobuf:"bytes,13,opt,name=Language,proto3" json:"Language,omitempty"` Currency string `protobuf:"bytes,14,opt,name=Currency,proto3" json:"Currency,omitempty"` // Phone string `protobuf:"bytes,15,opt,name=Phone,proto3" json:"Phone,omitempty"` // contains filtered or unexported fields }
func (*SetProfileRequest) Descriptor
deprecated
func (*SetProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetProfileRequest.ProtoReflect.Descriptor instead.
func (*SetProfileRequest) GetAddress1 ¶
func (x *SetProfileRequest) GetAddress1() string
func (*SetProfileRequest) GetAddress2 ¶
func (x *SetProfileRequest) GetAddress2() string
func (*SetProfileRequest) GetAppID ¶
func (x *SetProfileRequest) GetAppID() string
func (*SetProfileRequest) GetBirthDate ¶
func (x *SetProfileRequest) GetBirthDate() *timestamp.Timestamp
func (*SetProfileRequest) GetCity ¶
func (x *SetProfileRequest) GetCity() string
func (*SetProfileRequest) GetCountry ¶
func (x *SetProfileRequest) GetCountry() string
func (*SetProfileRequest) GetCurrency ¶
func (x *SetProfileRequest) GetCurrency() string
func (*SetProfileRequest) GetFirstName ¶
func (x *SetProfileRequest) GetFirstName() string
func (*SetProfileRequest) GetLanguage ¶
func (x *SetProfileRequest) GetLanguage() string
func (*SetProfileRequest) GetLastName ¶
func (x *SetProfileRequest) GetLastName() string
func (*SetProfileRequest) GetPhone ¶
func (x *SetProfileRequest) GetPhone() string
func (*SetProfileRequest) GetPhotoURL ¶
func (x *SetProfileRequest) GetPhotoURL() string
func (*SetProfileRequest) GetState ¶
func (x *SetProfileRequest) GetState() string
func (*SetProfileRequest) GetUserID ¶
func (x *SetProfileRequest) GetUserID() string
func (*SetProfileRequest) GetZip ¶
func (x *SetProfileRequest) GetZip() string
func (*SetProfileRequest) ProtoMessage ¶
func (*SetProfileRequest) ProtoMessage()
func (*SetProfileRequest) ProtoReflect ¶
func (x *SetProfileRequest) ProtoReflect() protoreflect.Message
func (*SetProfileRequest) Reset ¶
func (x *SetProfileRequest) Reset()
func (*SetProfileRequest) String ¶
func (x *SetProfileRequest) String() string
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedServiceServer) ChangePassword ¶
func (*UnimplementedServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (*UnimplementedServiceServer) GetProfile ¶
func (*UnimplementedServiceServer) GetProfile(context.Context, *GetProfileRequest) (*ProfileResponse, error)
func (*UnimplementedServiceServer) GetUserSocialIdentities ¶
func (*UnimplementedServiceServer) GetUserSocialIdentities(context.Context, *GetUserSocialIdentitiesRequest) (*UserSocialIdentitiesResponse, error)
func (*UnimplementedServiceServer) SetProfile ¶
func (*UnimplementedServiceServer) SetProfile(context.Context, *SetProfileRequest) (*ProfileResponse, error)
type UserIdentity ¶
type UserIdentity struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` ExternalID string `protobuf:"bytes,2,opt,name=externalID,proto3" json:"externalID,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UserIdentity) Descriptor
deprecated
func (*UserIdentity) Descriptor() ([]byte, []int)
Deprecated: Use UserIdentity.ProtoReflect.Descriptor instead.
func (*UserIdentity) GetEmail ¶
func (x *UserIdentity) GetEmail() string
func (*UserIdentity) GetExternalID ¶
func (x *UserIdentity) GetExternalID() string
func (*UserIdentity) GetName ¶
func (x *UserIdentity) GetName() string
func (*UserIdentity) GetProvider ¶
func (x *UserIdentity) GetProvider() string
func (*UserIdentity) GetUsername ¶
func (x *UserIdentity) GetUsername() string
func (*UserIdentity) ProtoMessage ¶
func (*UserIdentity) ProtoMessage()
func (*UserIdentity) ProtoReflect ¶
func (x *UserIdentity) ProtoReflect() protoreflect.Message
func (*UserIdentity) Reset ¶
func (x *UserIdentity) Reset()
func (*UserIdentity) String ¶
func (x *UserIdentity) String() string
type UserSocialIdentitiesResponse ¶
type UserSocialIdentitiesResponse struct { Identities []*UserIdentity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"` // contains filtered or unexported fields }
func (*UserSocialIdentitiesResponse) Descriptor
deprecated
func (*UserSocialIdentitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserSocialIdentitiesResponse.ProtoReflect.Descriptor instead.
func (*UserSocialIdentitiesResponse) GetIdentities ¶
func (x *UserSocialIdentitiesResponse) GetIdentities() []*UserIdentity
func (*UserSocialIdentitiesResponse) ProtoMessage ¶
func (*UserSocialIdentitiesResponse) ProtoMessage()
func (*UserSocialIdentitiesResponse) ProtoReflect ¶
func (x *UserSocialIdentitiesResponse) ProtoReflect() protoreflect.Message
func (*UserSocialIdentitiesResponse) Reset ¶
func (x *UserSocialIdentitiesResponse) Reset()
func (*UserSocialIdentitiesResponse) String ¶
func (x *UserSocialIdentitiesResponse) String() string