Documentation
¶
Index ¶
- Variables
- func RegisterUserConnectionServiceServer(s *grpc.Server, srv UserConnectionServiceServer)
- type BlockUserRequest
- func (*BlockUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockUserRequest) GetBlockId() string
- func (x *BlockUserRequest) GetUserId() string
- func (*BlockUserRequest) ProtoMessage()
- func (x *BlockUserRequest) ProtoReflect() protoreflect.Message
- func (x *BlockUserRequest) Reset()
- func (x *BlockUserRequest) String() string
- type CreateConnectionRequest
- func (*CreateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConnectionRequest) GetConnectId() string
- func (x *CreateConnectionRequest) GetUserId() string
- func (*CreateConnectionRequest) ProtoMessage()
- func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConnectionRequest) Reset()
- func (x *CreateConnectionRequest) String() string
- type CreateConnectionResponse
- func (*CreateConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConnectionResponse) GetConnected() bool
- func (*CreateConnectionResponse) ProtoMessage()
- func (x *CreateConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateConnectionResponse) Reset()
- func (x *CreateConnectionResponse) String() string
- type FetchConnectionsRequest
- func (*FetchConnectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchConnectionsRequest) GetPagination() *generalpb.Pagination
- func (x *FetchConnectionsRequest) GetUserId() string
- func (*FetchConnectionsRequest) ProtoMessage()
- func (x *FetchConnectionsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchConnectionsRequest) Reset()
- func (x *FetchConnectionsRequest) String() string
- type FetchConnectionsResponse
- func (*FetchConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchConnectionsResponse) GetUserId() []string
- func (*FetchConnectionsResponse) ProtoMessage()
- func (x *FetchConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchConnectionsResponse) Reset()
- func (x *FetchConnectionsResponse) String() string
- type FindNearestUsersRequest
- func (*FindNearestUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindNearestUsersRequest) GetLocation() *Location
- func (x *FindNearestUsersRequest) GetPagination() *generalpb.Pagination
- func (x *FindNearestUsersRequest) GetUserId() string
- func (*FindNearestUsersRequest) ProtoMessage()
- func (x *FindNearestUsersRequest) ProtoReflect() protoreflect.Message
- func (x *FindNearestUsersRequest) Reset()
- func (x *FindNearestUsersRequest) String() string
- type FindNearestUsersResponse
- func (*FindNearestUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindNearestUsersResponse) GetUserId() []string
- func (*FindNearestUsersResponse) ProtoMessage()
- func (x *FindNearestUsersResponse) ProtoReflect() protoreflect.Message
- func (x *FindNearestUsersResponse) Reset()
- func (x *FindNearestUsersResponse) String() string
- type GetLocationRequest
- func (*GetLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLocationRequest) GetUserId() string
- func (*GetLocationRequest) ProtoMessage()
- func (x *GetLocationRequest) ProtoReflect() protoreflect.Message
- func (x *GetLocationRequest) Reset()
- func (x *GetLocationRequest) String() string
- type GetLocationResponse
- func (*GetLocationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLocationResponse) GetLocation() *Location
- func (*GetLocationResponse) ProtoMessage()
- func (x *GetLocationResponse) ProtoReflect() protoreflect.Message
- func (x *GetLocationResponse) Reset()
- func (x *GetLocationResponse) String() string
- type IgnoreUserRequest
- func (*IgnoreUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreUserRequest) GetIgnoreId() string
- func (x *IgnoreUserRequest) GetUserId() string
- func (*IgnoreUserRequest) ProtoMessage()
- func (x *IgnoreUserRequest) ProtoReflect() protoreflect.Message
- func (x *IgnoreUserRequest) Reset()
- func (x *IgnoreUserRequest) String() string
- type Location
- type PauseUserRequest
- func (*PauseUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PauseUserRequest) GetPauseId() string
- func (x *PauseUserRequest) GetUserId() string
- func (*PauseUserRequest) ProtoMessage()
- func (x *PauseUserRequest) ProtoReflect() protoreflect.Message
- func (x *PauseUserRequest) Reset()
- func (x *PauseUserRequest) String() string
- type UnimplementedUserConnectionServiceServer
- func (*UnimplementedUserConnectionServiceServer) BlockUser(context.Context, *BlockUserRequest) (*empty.Empty, error)
- func (*UnimplementedUserConnectionServiceServer) ConnectionRequestUser(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
- func (*UnimplementedUserConnectionServiceServer) FetchConnections(context.Context, *FetchConnectionsRequest) (*FetchConnectionsResponse, error)
- func (*UnimplementedUserConnectionServiceServer) FindNearestUsers(context.Context, *FindNearestUsersRequest) (*FindNearestUsersResponse, error)
- func (*UnimplementedUserConnectionServiceServer) GetLocation(context.Context, *GetLocationRequest) (*GetLocationResponse, error)
- func (*UnimplementedUserConnectionServiceServer) IgnoreUser(context.Context, *IgnoreUserRequest) (*empty.Empty, error)
- func (*UnimplementedUserConnectionServiceServer) PauseUser(context.Context, *PauseUserRequest) (*empty.Empty, error)
- func (*UnimplementedUserConnectionServiceServer) UpdateLocation(context.Context, *UpdateLocationRequest) (*empty.Empty, error)
- func (*UnimplementedUserConnectionServiceServer) UserDistance(context.Context, *UserDistanceRequest) (*UserDistanceResponse, error)
- type UpdateLocationRequest
- func (*UpdateLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLocationRequest) GetLocation() *Location
- func (x *UpdateLocationRequest) GetUserId() string
- func (*UpdateLocationRequest) ProtoMessage()
- func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLocationRequest) Reset()
- func (x *UpdateLocationRequest) String() string
- type UserConnectionServiceClient
- type UserConnectionServiceServer
- type UserDistance
- func (*UserDistance) Descriptor() ([]byte, []int)deprecated
- func (x *UserDistance) GetDistance() float32
- func (x *UserDistance) GetUserId() string
- func (*UserDistance) ProtoMessage()
- func (x *UserDistance) ProtoReflect() protoreflect.Message
- func (x *UserDistance) Reset()
- func (x *UserDistance) String() string
- type UserDistanceRequest
- func (*UserDistanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserDistanceRequest) GetUserFromId() string
- func (x *UserDistanceRequest) GetUserToId() string
- func (*UserDistanceRequest) ProtoMessage()
- func (x *UserDistanceRequest) ProtoReflect() protoreflect.Message
- func (x *UserDistanceRequest) Reset()
- func (x *UserDistanceRequest) String() string
- type UserDistanceResponse
- func (*UserDistanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserDistanceResponse) GetDistance() float32
- func (*UserDistanceResponse) ProtoMessage()
- func (x *UserDistanceResponse) ProtoReflect() protoreflect.Message
- func (x *UserDistanceResponse) Reset()
- func (x *UserDistanceResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_protobuf_spec_connection_user_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterUserConnectionServiceServer ¶ added in v0.4.11
func RegisterUserConnectionServiceServer(s *grpc.Server, srv UserConnectionServiceServer)
Types ¶
type BlockUserRequest ¶ added in v0.4.14
type BlockUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` BlockId string `protobuf:"bytes,2,opt,name=blockId,proto3" json:"blockId,omitempty"` // contains filtered or unexported fields }
func (*BlockUserRequest) Descriptor
deprecated
added in
v0.4.14
func (*BlockUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockUserRequest.ProtoReflect.Descriptor instead.
func (*BlockUserRequest) GetBlockId ¶ added in v0.4.14
func (x *BlockUserRequest) GetBlockId() string
func (*BlockUserRequest) GetUserId ¶ added in v0.4.14
func (x *BlockUserRequest) GetUserId() string
func (*BlockUserRequest) ProtoMessage ¶ added in v0.4.14
func (*BlockUserRequest) ProtoMessage()
func (*BlockUserRequest) ProtoReflect ¶ added in v0.4.14
func (x *BlockUserRequest) ProtoReflect() protoreflect.Message
func (*BlockUserRequest) Reset ¶ added in v0.4.14
func (x *BlockUserRequest) Reset()
func (*BlockUserRequest) String ¶ added in v0.4.14
func (x *BlockUserRequest) String() string
type CreateConnectionRequest ¶ added in v0.4.14
type CreateConnectionRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ConnectId string `protobuf:"bytes,2,opt,name=connectId,proto3" json:"connectId,omitempty"` // contains filtered or unexported fields }
func (*CreateConnectionRequest) Descriptor
deprecated
added in
v0.4.14
func (*CreateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectionRequest) GetConnectId ¶ added in v0.4.14
func (x *CreateConnectionRequest) GetConnectId() string
func (*CreateConnectionRequest) GetUserId ¶ added in v0.4.14
func (x *CreateConnectionRequest) GetUserId() string
func (*CreateConnectionRequest) ProtoMessage ¶ added in v0.4.14
func (*CreateConnectionRequest) ProtoMessage()
func (*CreateConnectionRequest) ProtoReflect ¶ added in v0.4.14
func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
func (*CreateConnectionRequest) Reset ¶ added in v0.4.14
func (x *CreateConnectionRequest) Reset()
func (*CreateConnectionRequest) String ¶ added in v0.4.14
func (x *CreateConnectionRequest) String() string
type CreateConnectionResponse ¶ added in v0.4.14
type CreateConnectionResponse struct { Connected bool `protobuf:"varint,1,opt,name=connected,proto3" json:"connected,omitempty"` // contains filtered or unexported fields }
func (*CreateConnectionResponse) Descriptor
deprecated
added in
v0.4.14
func (*CreateConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectionResponse.ProtoReflect.Descriptor instead.
func (*CreateConnectionResponse) GetConnected ¶ added in v0.4.14
func (x *CreateConnectionResponse) GetConnected() bool
func (*CreateConnectionResponse) ProtoMessage ¶ added in v0.4.14
func (*CreateConnectionResponse) ProtoMessage()
func (*CreateConnectionResponse) ProtoReflect ¶ added in v0.4.14
func (x *CreateConnectionResponse) ProtoReflect() protoreflect.Message
func (*CreateConnectionResponse) Reset ¶ added in v0.4.14
func (x *CreateConnectionResponse) Reset()
func (*CreateConnectionResponse) String ¶ added in v0.4.14
func (x *CreateConnectionResponse) String() string
type FetchConnectionsRequest ¶ added in v0.7.1
type FetchConnectionsRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Pagination *generalpb.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*FetchConnectionsRequest) Descriptor
deprecated
added in
v0.7.1
func (*FetchConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchConnectionsRequest.ProtoReflect.Descriptor instead.
func (*FetchConnectionsRequest) GetPagination ¶ added in v0.7.1
func (x *FetchConnectionsRequest) GetPagination() *generalpb.Pagination
func (*FetchConnectionsRequest) GetUserId ¶ added in v0.7.1
func (x *FetchConnectionsRequest) GetUserId() string
func (*FetchConnectionsRequest) ProtoMessage ¶ added in v0.7.1
func (*FetchConnectionsRequest) ProtoMessage()
func (*FetchConnectionsRequest) ProtoReflect ¶ added in v0.7.1
func (x *FetchConnectionsRequest) ProtoReflect() protoreflect.Message
func (*FetchConnectionsRequest) Reset ¶ added in v0.7.1
func (x *FetchConnectionsRequest) Reset()
func (*FetchConnectionsRequest) String ¶ added in v0.7.1
func (x *FetchConnectionsRequest) String() string
type FetchConnectionsResponse ¶ added in v0.7.1
type FetchConnectionsResponse struct { UserId []string `protobuf:"bytes,1,rep,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*FetchConnectionsResponse) Descriptor
deprecated
added in
v0.7.1
func (*FetchConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchConnectionsResponse.ProtoReflect.Descriptor instead.
func (*FetchConnectionsResponse) GetUserId ¶ added in v0.7.1
func (x *FetchConnectionsResponse) GetUserId() []string
func (*FetchConnectionsResponse) ProtoMessage ¶ added in v0.7.1
func (*FetchConnectionsResponse) ProtoMessage()
func (*FetchConnectionsResponse) ProtoReflect ¶ added in v0.7.1
func (x *FetchConnectionsResponse) ProtoReflect() protoreflect.Message
func (*FetchConnectionsResponse) Reset ¶ added in v0.7.1
func (x *FetchConnectionsResponse) Reset()
func (*FetchConnectionsResponse) String ¶ added in v0.7.1
func (x *FetchConnectionsResponse) String() string
type FindNearestUsersRequest ¶ added in v0.4.14
type FindNearestUsersRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Pagination *generalpb.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*FindNearestUsersRequest) Descriptor
deprecated
added in
v0.4.14
func (*FindNearestUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindNearestUsersRequest.ProtoReflect.Descriptor instead.
func (*FindNearestUsersRequest) GetLocation ¶ added in v0.8.5
func (x *FindNearestUsersRequest) GetLocation() *Location
func (*FindNearestUsersRequest) GetPagination ¶ added in v0.7.1
func (x *FindNearestUsersRequest) GetPagination() *generalpb.Pagination
func (*FindNearestUsersRequest) GetUserId ¶ added in v0.4.14
func (x *FindNearestUsersRequest) GetUserId() string
func (*FindNearestUsersRequest) ProtoMessage ¶ added in v0.4.14
func (*FindNearestUsersRequest) ProtoMessage()
func (*FindNearestUsersRequest) ProtoReflect ¶ added in v0.4.14
func (x *FindNearestUsersRequest) ProtoReflect() protoreflect.Message
func (*FindNearestUsersRequest) Reset ¶ added in v0.4.14
func (x *FindNearestUsersRequest) Reset()
func (*FindNearestUsersRequest) String ¶ added in v0.4.14
func (x *FindNearestUsersRequest) String() string
type FindNearestUsersResponse ¶ added in v0.4.14
type FindNearestUsersResponse struct { UserId []string `protobuf:"bytes,2,rep,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*FindNearestUsersResponse) Descriptor
deprecated
added in
v0.4.14
func (*FindNearestUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindNearestUsersResponse.ProtoReflect.Descriptor instead.
func (*FindNearestUsersResponse) GetUserId ¶ added in v0.5.4
func (x *FindNearestUsersResponse) GetUserId() []string
func (*FindNearestUsersResponse) ProtoMessage ¶ added in v0.4.14
func (*FindNearestUsersResponse) ProtoMessage()
func (*FindNearestUsersResponse) ProtoReflect ¶ added in v0.4.14
func (x *FindNearestUsersResponse) ProtoReflect() protoreflect.Message
func (*FindNearestUsersResponse) Reset ¶ added in v0.4.14
func (x *FindNearestUsersResponse) Reset()
func (*FindNearestUsersResponse) String ¶ added in v0.4.14
func (x *FindNearestUsersResponse) String() string
type GetLocationRequest ¶
type GetLocationRequest struct { UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*GetLocationRequest) Descriptor
deprecated
func (*GetLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead.
func (*GetLocationRequest) GetUserId ¶
func (x *GetLocationRequest) GetUserId() string
func (*GetLocationRequest) ProtoMessage ¶
func (*GetLocationRequest) ProtoMessage()
func (*GetLocationRequest) ProtoReflect ¶
func (x *GetLocationRequest) ProtoReflect() protoreflect.Message
func (*GetLocationRequest) Reset ¶
func (x *GetLocationRequest) Reset()
func (*GetLocationRequest) String ¶
func (x *GetLocationRequest) String() string
type GetLocationResponse ¶
type GetLocationResponse struct { Location *Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*GetLocationResponse) Descriptor
deprecated
func (*GetLocationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLocationResponse.ProtoReflect.Descriptor instead.
func (*GetLocationResponse) GetLocation ¶ added in v0.4.10
func (x *GetLocationResponse) GetLocation() *Location
func (*GetLocationResponse) ProtoMessage ¶
func (*GetLocationResponse) ProtoMessage()
func (*GetLocationResponse) ProtoReflect ¶
func (x *GetLocationResponse) ProtoReflect() protoreflect.Message
func (*GetLocationResponse) Reset ¶
func (x *GetLocationResponse) Reset()
func (*GetLocationResponse) String ¶
func (x *GetLocationResponse) String() string
type IgnoreUserRequest ¶ added in v0.4.14
type IgnoreUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` IgnoreId string `protobuf:"bytes,2,opt,name=ignoreId,proto3" json:"ignoreId,omitempty"` // contains filtered or unexported fields }
func (*IgnoreUserRequest) Descriptor
deprecated
added in
v0.4.14
func (*IgnoreUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreUserRequest.ProtoReflect.Descriptor instead.
func (*IgnoreUserRequest) GetIgnoreId ¶ added in v0.4.14
func (x *IgnoreUserRequest) GetIgnoreId() string
func (*IgnoreUserRequest) GetUserId ¶ added in v0.4.14
func (x *IgnoreUserRequest) GetUserId() string
func (*IgnoreUserRequest) ProtoMessage ¶ added in v0.4.14
func (*IgnoreUserRequest) ProtoMessage()
func (*IgnoreUserRequest) ProtoReflect ¶ added in v0.4.14
func (x *IgnoreUserRequest) ProtoReflect() protoreflect.Message
func (*IgnoreUserRequest) Reset ¶ added in v0.4.14
func (x *IgnoreUserRequest) Reset()
func (*IgnoreUserRequest) String ¶ added in v0.4.14
func (x *IgnoreUserRequest) String() string
type Location ¶
type Location struct { Lat float32 `protobuf:"fixed32,1,opt,name=lat,proto3" json:"lat,omitempty"` Long float32 `protobuf:"fixed32,2,opt,name=long,proto3" json:"long,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type PauseUserRequest ¶ added in v0.4.14
type PauseUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` PauseId string `protobuf:"bytes,2,opt,name=pauseId,proto3" json:"pauseId,omitempty"` // contains filtered or unexported fields }
func (*PauseUserRequest) Descriptor
deprecated
added in
v0.4.14
func (*PauseUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseUserRequest.ProtoReflect.Descriptor instead.
func (*PauseUserRequest) GetPauseId ¶ added in v0.4.14
func (x *PauseUserRequest) GetPauseId() string
func (*PauseUserRequest) GetUserId ¶ added in v0.4.14
func (x *PauseUserRequest) GetUserId() string
func (*PauseUserRequest) ProtoMessage ¶ added in v0.4.14
func (*PauseUserRequest) ProtoMessage()
func (*PauseUserRequest) ProtoReflect ¶ added in v0.4.14
func (x *PauseUserRequest) ProtoReflect() protoreflect.Message
func (*PauseUserRequest) Reset ¶ added in v0.4.14
func (x *PauseUserRequest) Reset()
func (*PauseUserRequest) String ¶ added in v0.4.14
func (x *PauseUserRequest) String() string
type UnimplementedUserConnectionServiceServer ¶ added in v0.4.11
type UnimplementedUserConnectionServiceServer struct { }
UnimplementedUserConnectionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserConnectionServiceServer) BlockUser ¶ added in v0.4.14
func (*UnimplementedUserConnectionServiceServer) BlockUser(context.Context, *BlockUserRequest) (*empty.Empty, error)
func (*UnimplementedUserConnectionServiceServer) ConnectionRequestUser ¶ added in v0.4.14
func (*UnimplementedUserConnectionServiceServer) ConnectionRequestUser(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
func (*UnimplementedUserConnectionServiceServer) FetchConnections ¶ added in v0.7.1
func (*UnimplementedUserConnectionServiceServer) FetchConnections(context.Context, *FetchConnectionsRequest) (*FetchConnectionsResponse, error)
func (*UnimplementedUserConnectionServiceServer) FindNearestUsers ¶ added in v0.4.14
func (*UnimplementedUserConnectionServiceServer) FindNearestUsers(context.Context, *FindNearestUsersRequest) (*FindNearestUsersResponse, error)
func (*UnimplementedUserConnectionServiceServer) GetLocation ¶ added in v0.4.16
func (*UnimplementedUserConnectionServiceServer) GetLocation(context.Context, *GetLocationRequest) (*GetLocationResponse, error)
func (*UnimplementedUserConnectionServiceServer) IgnoreUser ¶ added in v0.4.14
func (*UnimplementedUserConnectionServiceServer) IgnoreUser(context.Context, *IgnoreUserRequest) (*empty.Empty, error)
func (*UnimplementedUserConnectionServiceServer) PauseUser ¶ added in v0.4.14
func (*UnimplementedUserConnectionServiceServer) PauseUser(context.Context, *PauseUserRequest) (*empty.Empty, error)
func (*UnimplementedUserConnectionServiceServer) UpdateLocation ¶ added in v0.4.11
func (*UnimplementedUserConnectionServiceServer) UpdateLocation(context.Context, *UpdateLocationRequest) (*empty.Empty, error)
func (*UnimplementedUserConnectionServiceServer) UserDistance ¶ added in v0.6.0
func (*UnimplementedUserConnectionServiceServer) UserDistance(context.Context, *UserDistanceRequest) (*UserDistanceResponse, error)
type UpdateLocationRequest ¶
type UpdateLocationRequest struct { Location *Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*UpdateLocationRequest) Descriptor
deprecated
func (*UpdateLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLocationRequest.ProtoReflect.Descriptor instead.
func (*UpdateLocationRequest) GetLocation ¶ added in v0.4.10
func (x *UpdateLocationRequest) GetLocation() *Location
func (*UpdateLocationRequest) GetUserId ¶
func (x *UpdateLocationRequest) GetUserId() string
func (*UpdateLocationRequest) ProtoMessage ¶
func (*UpdateLocationRequest) ProtoMessage()
func (*UpdateLocationRequest) ProtoReflect ¶
func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message
func (*UpdateLocationRequest) Reset ¶
func (x *UpdateLocationRequest) Reset()
func (*UpdateLocationRequest) String ¶
func (x *UpdateLocationRequest) String() string
type UserConnectionServiceClient ¶ added in v0.4.11
type UserConnectionServiceClient interface { UpdateLocation(ctx context.Context, in *UpdateLocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetLocation(ctx context.Context, in *GetLocationRequest, opts ...grpc.CallOption) (*GetLocationResponse, error) FindNearestUsers(ctx context.Context, in *FindNearestUsersRequest, opts ...grpc.CallOption) (*FindNearestUsersResponse, error) FetchConnections(ctx context.Context, in *FetchConnectionsRequest, opts ...grpc.CallOption) (*FetchConnectionsResponse, error) IgnoreUser(ctx context.Context, in *IgnoreUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) BlockUser(ctx context.Context, in *BlockUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) PauseUser(ctx context.Context, in *PauseUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) ConnectionRequestUser(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*CreateConnectionResponse, error) UserDistance(ctx context.Context, in *UserDistanceRequest, opts ...grpc.CallOption) (*UserDistanceResponse, error) }
UserConnectionServiceClient is the client API for UserConnectionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserConnectionServiceClient ¶ added in v0.4.11
func NewUserConnectionServiceClient(cc grpc.ClientConnInterface) UserConnectionServiceClient
type UserConnectionServiceServer ¶ added in v0.4.11
type UserConnectionServiceServer interface { UpdateLocation(context.Context, *UpdateLocationRequest) (*empty.Empty, error) GetLocation(context.Context, *GetLocationRequest) (*GetLocationResponse, error) FindNearestUsers(context.Context, *FindNearestUsersRequest) (*FindNearestUsersResponse, error) FetchConnections(context.Context, *FetchConnectionsRequest) (*FetchConnectionsResponse, error) IgnoreUser(context.Context, *IgnoreUserRequest) (*empty.Empty, error) BlockUser(context.Context, *BlockUserRequest) (*empty.Empty, error) PauseUser(context.Context, *PauseUserRequest) (*empty.Empty, error) ConnectionRequestUser(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error) UserDistance(context.Context, *UserDistanceRequest) (*UserDistanceResponse, error) }
UserConnectionServiceServer is the server API for UserConnectionService service.
type UserDistance ¶ added in v0.4.14
type UserDistance struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Distance float32 `protobuf:"fixed32,2,opt,name=distance,proto3" json:"distance,omitempty"` // contains filtered or unexported fields }
func (*UserDistance) Descriptor
deprecated
added in
v0.4.14
func (*UserDistance) Descriptor() ([]byte, []int)
Deprecated: Use UserDistance.ProtoReflect.Descriptor instead.
func (*UserDistance) GetDistance ¶ added in v0.4.14
func (x *UserDistance) GetDistance() float32
func (*UserDistance) GetUserId ¶ added in v0.4.14
func (x *UserDistance) GetUserId() string
func (*UserDistance) ProtoMessage ¶ added in v0.4.14
func (*UserDistance) ProtoMessage()
func (*UserDistance) ProtoReflect ¶ added in v0.4.14
func (x *UserDistance) ProtoReflect() protoreflect.Message
func (*UserDistance) Reset ¶ added in v0.4.14
func (x *UserDistance) Reset()
func (*UserDistance) String ¶ added in v0.4.14
func (x *UserDistance) String() string
type UserDistanceRequest ¶ added in v0.6.0
type UserDistanceRequest struct { UserFromId string `protobuf:"bytes,1,opt,name=userFromId,proto3" json:"userFromId,omitempty"` UserToId string `protobuf:"bytes,2,opt,name=userToId,proto3" json:"userToId,omitempty"` // contains filtered or unexported fields }
func (*UserDistanceRequest) Descriptor
deprecated
added in
v0.6.0
func (*UserDistanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserDistanceRequest.ProtoReflect.Descriptor instead.
func (*UserDistanceRequest) GetUserFromId ¶ added in v0.6.0
func (x *UserDistanceRequest) GetUserFromId() string
func (*UserDistanceRequest) GetUserToId ¶ added in v0.6.0
func (x *UserDistanceRequest) GetUserToId() string
func (*UserDistanceRequest) ProtoMessage ¶ added in v0.6.0
func (*UserDistanceRequest) ProtoMessage()
func (*UserDistanceRequest) ProtoReflect ¶ added in v0.6.0
func (x *UserDistanceRequest) ProtoReflect() protoreflect.Message
func (*UserDistanceRequest) Reset ¶ added in v0.6.0
func (x *UserDistanceRequest) Reset()
func (*UserDistanceRequest) String ¶ added in v0.6.0
func (x *UserDistanceRequest) String() string
type UserDistanceResponse ¶ added in v0.6.0
type UserDistanceResponse struct { Distance float32 `protobuf:"fixed32,1,opt,name=distance,proto3" json:"distance,omitempty"` // contains filtered or unexported fields }
func (*UserDistanceResponse) Descriptor
deprecated
added in
v0.6.0
func (*UserDistanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserDistanceResponse.ProtoReflect.Descriptor instead.
func (*UserDistanceResponse) GetDistance ¶ added in v0.6.0
func (x *UserDistanceResponse) GetDistance() float32
func (*UserDistanceResponse) ProtoMessage ¶ added in v0.6.0
func (*UserDistanceResponse) ProtoMessage()
func (*UserDistanceResponse) ProtoReflect ¶ added in v0.6.0
func (x *UserDistanceResponse) ProtoReflect() protoreflect.Message
func (*UserDistanceResponse) Reset ¶ added in v0.6.0
func (x *UserDistanceResponse) Reset()
func (*UserDistanceResponse) String ¶ added in v0.6.0
func (x *UserDistanceResponse) String() string