Documentation ¶
Index ¶
- Variables
- type AcceptContactRequest
- func (*AcceptContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptContactRequest) GetContactId() string
- func (x *AcceptContactRequest) GetUserId() *model.UUID
- func (*AcceptContactRequest) ProtoMessage()
- func (x *AcceptContactRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptContactRequest) Reset()
- func (x *AcceptContactRequest) String() string
- type AcceptContactResponse
- type AddContactRequest
- func (*AddContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactRequest) GetFromIdentifier() *auth.UserIdentifier
- func (x *AddContactRequest) GetToIdentifier() *auth.UserIdentifier
- func (*AddContactRequest) ProtoMessage()
- func (x *AddContactRequest) ProtoReflect() protoreflect.Message
- func (x *AddContactRequest) Reset()
- func (x *AddContactRequest) String() string
- type AddContactResponse
- func (*AddContactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactResponse) GetContact() *user.Contact
- func (*AddContactResponse) ProtoMessage()
- func (x *AddContactResponse) ProtoReflect() protoreflect.Message
- func (x *AddContactResponse) Reset()
- func (x *AddContactResponse) String() string
- type CountRequest
- type CountResponse
- type CreateRequest
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetUser() *user.User
- func (x *CreateResponse) GetUserId() *model.UUID
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type DeleteManyRequest
- func (*DeleteManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManyRequest) GetUserIds() []*model.UUID
- func (*DeleteManyRequest) ProtoMessage()
- func (x *DeleteManyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteManyRequest) Reset()
- func (x *DeleteManyRequest) String() string
- type DeleteManyResponse
- func (*DeleteManyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManyResponse) GetCount() uint64
- func (*DeleteManyResponse) ProtoMessage()
- func (x *DeleteManyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteManyResponse) Reset()
- func (x *DeleteManyResponse) String() string
- type DeleteRequest
- type DeleteResponse
- type GetContactsRequest
- func (*GetContactsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContactsRequest) GetAccepted() bool
- func (x *GetContactsRequest) GetFrom() uint32
- func (x *GetContactsRequest) GetTo() uint32
- func (x *GetContactsRequest) GetUserId() *model.UUID
- func (*GetContactsRequest) ProtoMessage()
- func (x *GetContactsRequest) ProtoReflect() protoreflect.Message
- func (x *GetContactsRequest) Reset()
- func (x *GetContactsRequest) String() string
- type GetContactsResponse
- func (*GetContactsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContactsResponse) GetContacts() []*user.Contact
- func (x *GetContactsResponse) GetCount() uint64
- func (*GetContactsResponse) ProtoMessage()
- func (x *GetContactsResponse) ProtoReflect() protoreflect.Message
- func (x *GetContactsResponse) Reset()
- func (x *GetContactsResponse) String() string
- type GetManyRequest
- type GetManyResponse
- func (*GetManyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetManyResponse) GetCount() uint64
- func (x *GetManyResponse) GetUsers() []*user.User
- func (*GetManyResponse) ProtoMessage()
- func (x *GetManyResponse) ProtoReflect() protoreflect.Message
- func (x *GetManyResponse) Reset()
- func (x *GetManyResponse) String() string
- type GetRequest
- type GetResponse
- type GetSessionsRequest
- func (*GetSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionsRequest) GetUserId() *model.UUID
- func (*GetSessionsRequest) ProtoMessage()
- func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionsRequest) Reset()
- func (x *GetSessionsRequest) String() string
- type GetSessionsResponse
- func (*GetSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionsResponse) GetTokens() []*user.TokenMeta
- func (*GetSessionsResponse) ProtoMessage()
- func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionsResponse) Reset()
- func (x *GetSessionsResponse) String() string
- type ListRequest
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetTotal() uint64
- func (x *ListResponse) GetUsers() []*user.Entry
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type PingRequest
- type PingResponse
- type RemoveContactRequest
- func (*RemoveContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContactRequest) GetContactId() string
- func (*RemoveContactRequest) ProtoMessage()
- func (x *RemoveContactRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveContactRequest) Reset()
- func (x *RemoveContactRequest) String() string
- type RemoveContactResponse
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetFrom() uint32
- func (x *SearchRequest) GetGroupId() string
- func (x *SearchRequest) GetQuery() string
- func (x *SearchRequest) GetTo() uint32
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetCount() uint64
- func (x *SearchResponse) GetUsers() []*user.User
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetUpdates() []*user.Update
- func (x *UpdateRequest) GetUserId() *model.UUID
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type UploadProfileImageRequest
- func (*UploadProfileImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadProfileImageRequest) GetData() []byte
- func (x *UploadProfileImageRequest) GetUserId() *model.UUID
- func (*UploadProfileImageRequest) ProtoMessage()
- func (x *UploadProfileImageRequest) ProtoReflect() protoreflect.Message
- func (x *UploadProfileImageRequest) Reset()
- func (x *UploadProfileImageRequest) String() string
- type UploadProfileImageResponse
- func (*UploadProfileImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadProfileImageResponse) GetUrl() string
- func (*UploadProfileImageResponse) ProtoMessage()
- func (x *UploadProfileImageResponse) ProtoReflect() protoreflect.Message
- func (x *UploadProfileImageResponse) Reset()
- func (x *UploadProfileImageResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_nuntio_management_api_user_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AcceptContactRequest ¶
type AcceptContactRequest struct { ContactId string `protobuf:"bytes,1,opt,name=contact_id,json=contactId,proto3" json:"contact_id,omitempty"` UserId *model.UUID `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
The request of a Users.AcceptContact RPC
func (*AcceptContactRequest) Descriptor
deprecated
func (*AcceptContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptContactRequest.ProtoReflect.Descriptor instead.
func (*AcceptContactRequest) GetContactId ¶
func (x *AcceptContactRequest) GetContactId() string
func (*AcceptContactRequest) GetUserId ¶
func (x *AcceptContactRequest) GetUserId() *model.UUID
func (*AcceptContactRequest) ProtoMessage ¶
func (*AcceptContactRequest) ProtoMessage()
func (*AcceptContactRequest) ProtoReflect ¶
func (x *AcceptContactRequest) ProtoReflect() protoreflect.Message
func (*AcceptContactRequest) Reset ¶
func (x *AcceptContactRequest) Reset()
func (*AcceptContactRequest) String ¶
func (x *AcceptContactRequest) String() string
type AcceptContactResponse ¶
type AcceptContactResponse struct {
// contains filtered or unexported fields
}
The response of a Users.AcceptContact RPC
func (*AcceptContactResponse) Descriptor
deprecated
func (*AcceptContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use AcceptContactResponse.ProtoReflect.Descriptor instead.
func (*AcceptContactResponse) ProtoMessage ¶
func (*AcceptContactResponse) ProtoMessage()
func (*AcceptContactResponse) ProtoReflect ¶
func (x *AcceptContactResponse) ProtoReflect() protoreflect.Message
func (*AcceptContactResponse) Reset ¶
func (x *AcceptContactResponse) Reset()
func (*AcceptContactResponse) String ¶
func (x *AcceptContactResponse) String() string
type AddContactRequest ¶
type AddContactRequest struct { FromIdentifier *auth.UserIdentifier `protobuf:"bytes,1,opt,name=from_identifier,json=fromIdentifier,proto3" json:"from_identifier,omitempty"` ToIdentifier *auth.UserIdentifier `protobuf:"bytes,2,opt,name=to_identifier,json=toIdentifier,proto3" json:"to_identifier,omitempty"` // contains filtered or unexported fields }
The request of a Users.AddContact RPC
func (*AddContactRequest) Descriptor
deprecated
func (*AddContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddContactRequest.ProtoReflect.Descriptor instead.
func (*AddContactRequest) GetFromIdentifier ¶
func (x *AddContactRequest) GetFromIdentifier() *auth.UserIdentifier
func (*AddContactRequest) GetToIdentifier ¶
func (x *AddContactRequest) GetToIdentifier() *auth.UserIdentifier
func (*AddContactRequest) ProtoMessage ¶
func (*AddContactRequest) ProtoMessage()
func (*AddContactRequest) ProtoReflect ¶
func (x *AddContactRequest) ProtoReflect() protoreflect.Message
func (*AddContactRequest) Reset ¶
func (x *AddContactRequest) Reset()
func (*AddContactRequest) String ¶
func (x *AddContactRequest) String() string
type AddContactResponse ¶
type AddContactResponse struct { Contact *user.Contact `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"` // contains filtered or unexported fields }
The response of a Users.AddContact RPC
func (*AddContactResponse) Descriptor
deprecated
func (*AddContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddContactResponse.ProtoReflect.Descriptor instead.
func (*AddContactResponse) GetContact ¶
func (x *AddContactResponse) GetContact() *user.Contact
func (*AddContactResponse) ProtoMessage ¶
func (*AddContactResponse) ProtoMessage()
func (*AddContactResponse) ProtoReflect ¶
func (x *AddContactResponse) ProtoReflect() protoreflect.Message
func (*AddContactResponse) Reset ¶
func (x *AddContactResponse) Reset()
func (*AddContactResponse) String ¶
func (x *AddContactResponse) String() string
type CountRequest ¶
type CountRequest struct {
// contains filtered or unexported fields
}
The request of an Users.Count RPC
func (*CountRequest) Descriptor
deprecated
func (*CountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountRequest.ProtoReflect.Descriptor instead.
func (*CountRequest) ProtoMessage ¶
func (*CountRequest) ProtoMessage()
func (*CountRequest) ProtoReflect ¶
func (x *CountRequest) ProtoReflect() protoreflect.Message
func (*CountRequest) Reset ¶
func (x *CountRequest) Reset()
func (*CountRequest) String ¶
func (x *CountRequest) String() string
type CountResponse ¶
type CountResponse struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
The response of an Users.Count RPC
func (*CountResponse) Descriptor
deprecated
func (*CountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.
func (*CountResponse) GetCount ¶
func (x *CountResponse) GetCount() uint64
func (*CountResponse) ProtoMessage ¶
func (*CountResponse) ProtoMessage()
func (*CountResponse) ProtoReflect ¶
func (x *CountResponse) ProtoReflect() protoreflect.Message
func (*CountResponse) Reset ¶
func (x *CountResponse) Reset()
func (*CountResponse) String ¶
func (x *CountResponse) String() string
type CreateRequest ¶
type CreateRequest struct { // Initial fields to set. Initializers []*user.Update `protobuf:"bytes,1,rep,name=initializers,proto3" json:"initializers,omitempty"` // contains filtered or unexported fields }
The request of a Users.Create RPC
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetInitializers ¶
func (x *CreateRequest) GetInitializers() []*user.Update
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The created user. User *user.User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
The response of a Users.Create RPC
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetUser ¶
func (x *CreateResponse) GetUser() *user.User
func (*CreateResponse) GetUserId ¶
func (x *CreateResponse) GetUserId() *model.UUID
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeleteManyRequest ¶
type DeleteManyRequest struct { UserIds []*model.UUID `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
The request of a Users.DeleteMany RPC
func (*DeleteManyRequest) Descriptor
deprecated
func (*DeleteManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManyRequest.ProtoReflect.Descriptor instead.
func (*DeleteManyRequest) GetUserIds ¶
func (x *DeleteManyRequest) GetUserIds() []*model.UUID
func (*DeleteManyRequest) ProtoMessage ¶
func (*DeleteManyRequest) ProtoMessage()
func (*DeleteManyRequest) ProtoReflect ¶
func (x *DeleteManyRequest) ProtoReflect() protoreflect.Message
func (*DeleteManyRequest) Reset ¶
func (x *DeleteManyRequest) Reset()
func (*DeleteManyRequest) String ¶
func (x *DeleteManyRequest) String() string
type DeleteManyResponse ¶
type DeleteManyResponse struct { // number of users deleted Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
The response of a Users.DeleteMany RPC
func (*DeleteManyResponse) Descriptor
deprecated
func (*DeleteManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManyResponse.ProtoReflect.Descriptor instead.
func (*DeleteManyResponse) GetCount ¶
func (x *DeleteManyResponse) GetCount() uint64
func (*DeleteManyResponse) ProtoMessage ¶
func (*DeleteManyResponse) ProtoMessage()
func (*DeleteManyResponse) ProtoReflect ¶
func (x *DeleteManyResponse) ProtoReflect() protoreflect.Message
func (*DeleteManyResponse) Reset ¶
func (x *DeleteManyResponse) Reset()
func (*DeleteManyResponse) String ¶
func (x *DeleteManyResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { // The user identifier to fetch the user UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
The request of an Users.Delete RPC
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetUserId ¶
func (x *DeleteRequest) GetUserId() *model.UUID
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
The response of an Users.Delete RPC
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type GetContactsRequest ¶
type GetContactsRequest struct { // The user identifier to fetch the user UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Where to start getting contacts from From uint32 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` // Where to stop getting contacts to To uint32 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` // Set to true to only include accepted or false to only include not // accepted Accepted *bool `protobuf:"varint,4,opt,name=accepted,proto3,oneof" json:"accepted,omitempty"` // contains filtered or unexported fields }
The request of an Users.GetContacts RPC
func (*GetContactsRequest) Descriptor
deprecated
func (*GetContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContactsRequest.ProtoReflect.Descriptor instead.
func (*GetContactsRequest) GetAccepted ¶
func (x *GetContactsRequest) GetAccepted() bool
func (*GetContactsRequest) GetFrom ¶
func (x *GetContactsRequest) GetFrom() uint32
func (*GetContactsRequest) GetTo ¶
func (x *GetContactsRequest) GetTo() uint32
func (*GetContactsRequest) GetUserId ¶
func (x *GetContactsRequest) GetUserId() *model.UUID
func (*GetContactsRequest) ProtoMessage ¶
func (*GetContactsRequest) ProtoMessage()
func (*GetContactsRequest) ProtoReflect ¶
func (x *GetContactsRequest) ProtoReflect() protoreflect.Message
func (*GetContactsRequest) Reset ¶
func (x *GetContactsRequest) Reset()
func (*GetContactsRequest) String ¶
func (x *GetContactsRequest) String() string
type GetContactsResponse ¶
type GetContactsResponse struct { Contacts []*user.Contact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"` // Return number of users in database Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
The request of a Users.GetContacts RPC
func (*GetContactsResponse) Descriptor
deprecated
func (*GetContactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContactsResponse.ProtoReflect.Descriptor instead.
func (*GetContactsResponse) GetContacts ¶
func (x *GetContactsResponse) GetContacts() []*user.Contact
func (*GetContactsResponse) GetCount ¶
func (x *GetContactsResponse) GetCount() uint64
func (*GetContactsResponse) ProtoMessage ¶
func (*GetContactsResponse) ProtoMessage()
func (*GetContactsResponse) ProtoReflect ¶
func (x *GetContactsResponse) ProtoReflect() protoreflect.Message
func (*GetContactsResponse) Reset ¶
func (x *GetContactsResponse) Reset()
func (*GetContactsResponse) String ¶
func (x *GetContactsResponse) String() string
type GetManyRequest ¶
type GetManyRequest struct { UserIds []*model.UUID `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
The request of a Users.GetMany RPC
func (*GetManyRequest) Descriptor
deprecated
func (*GetManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetManyRequest.ProtoReflect.Descriptor instead.
func (*GetManyRequest) GetUserIds ¶
func (x *GetManyRequest) GetUserIds() []*model.UUID
func (*GetManyRequest) ProtoMessage ¶
func (*GetManyRequest) ProtoMessage()
func (*GetManyRequest) ProtoReflect ¶
func (x *GetManyRequest) ProtoReflect() protoreflect.Message
func (*GetManyRequest) Reset ¶
func (x *GetManyRequest) Reset()
func (*GetManyRequest) String ¶
func (x *GetManyRequest) String() string
type GetManyResponse ¶
type GetManyResponse struct { // The users returned Users []*user.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // Return number of users in database Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
The response of a Users.GetMany RPC
func (*GetManyResponse) Descriptor
deprecated
func (*GetManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetManyResponse.ProtoReflect.Descriptor instead.
func (*GetManyResponse) GetCount ¶
func (x *GetManyResponse) GetCount() uint64
func (*GetManyResponse) GetUsers ¶
func (x *GetManyResponse) GetUsers() []*user.User
func (*GetManyResponse) ProtoMessage ¶
func (*GetManyResponse) ProtoMessage()
func (*GetManyResponse) ProtoReflect ¶
func (x *GetManyResponse) ProtoReflect() protoreflect.Message
func (*GetManyResponse) Reset ¶
func (x *GetManyResponse) Reset()
func (*GetManyResponse) String ¶
func (x *GetManyResponse) String() string
type GetRequest ¶
type GetRequest struct { // The user identifier to fetch the user UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
The request of an Users.Get RPC
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetUserId ¶
func (x *GetRequest) GetUserId() *model.UUID
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { User *user.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
The response of an Users.Get RPC
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetUser ¶
func (x *GetResponse) GetUser() *user.User
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetSessionsRequest ¶
type GetSessionsRequest struct { // The user identifier to fetch the user UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
The request of an Users.GetSessions RPC
func (*GetSessionsRequest) Descriptor
deprecated
func (*GetSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionsRequest.ProtoReflect.Descriptor instead.
func (*GetSessionsRequest) GetUserId ¶
func (x *GetSessionsRequest) GetUserId() *model.UUID
func (*GetSessionsRequest) ProtoMessage ¶
func (*GetSessionsRequest) ProtoMessage()
func (*GetSessionsRequest) ProtoReflect ¶
func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message
func (*GetSessionsRequest) Reset ¶
func (x *GetSessionsRequest) Reset()
func (*GetSessionsRequest) String ¶
func (x *GetSessionsRequest) String() string
type GetSessionsResponse ¶
type GetSessionsResponse struct { // An array of token meta data Tokens []*user.TokenMeta `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` // contains filtered or unexported fields }
The response of a Users.GetSessions RPC
func (*GetSessionsResponse) Descriptor
deprecated
func (*GetSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionsResponse.ProtoReflect.Descriptor instead.
func (*GetSessionsResponse) GetTokens ¶
func (x *GetSessionsResponse) GetTokens() []*user.TokenMeta
func (*GetSessionsResponse) ProtoMessage ¶
func (*GetSessionsResponse) ProtoMessage()
func (*GetSessionsResponse) ProtoReflect ¶
func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message
func (*GetSessionsResponse) Reset ¶
func (x *GetSessionsResponse) Reset()
func (*GetSessionsResponse) String ¶
func (x *GetSessionsResponse) String() string
type ListRequest ¶
type ListRequest struct { Filter *user.Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request of a Users.List RPC
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetFilter ¶
func (x *ListRequest) GetFilter() *user.Filter
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { // The users returned Users []*user.Entry `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // Return number of users in database Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
The response of a Users.List RPC
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetTotal ¶
func (x *ListResponse) GetTotal() uint64
func (*ListResponse) GetUsers ¶
func (x *ListResponse) GetUsers() []*user.Entry
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
The request of a Users.Ping RPC
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
The response of a Users.Ping RPC
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type RemoveContactRequest ¶
type RemoveContactRequest struct { ContactId string `protobuf:"bytes,1,opt,name=contact_id,json=contactId,proto3" json:"contact_id,omitempty"` // contains filtered or unexported fields }
The request of a Users.RemoveContact RPC
func (*RemoveContactRequest) Descriptor
deprecated
func (*RemoveContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContactRequest.ProtoReflect.Descriptor instead.
func (*RemoveContactRequest) GetContactId ¶
func (x *RemoveContactRequest) GetContactId() string
func (*RemoveContactRequest) ProtoMessage ¶
func (*RemoveContactRequest) ProtoMessage()
func (*RemoveContactRequest) ProtoReflect ¶
func (x *RemoveContactRequest) ProtoReflect() protoreflect.Message
func (*RemoveContactRequest) Reset ¶
func (x *RemoveContactRequest) Reset()
func (*RemoveContactRequest) String ¶
func (x *RemoveContactRequest) String() string
type RemoveContactResponse ¶
type RemoveContactResponse struct {
// contains filtered or unexported fields
}
The response of a Users.RemoveContact RPC
func (*RemoveContactResponse) Descriptor
deprecated
func (*RemoveContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContactResponse.ProtoReflect.Descriptor instead.
func (*RemoveContactResponse) ProtoMessage ¶
func (*RemoveContactResponse) ProtoMessage()
func (*RemoveContactResponse) ProtoReflect ¶
func (x *RemoveContactResponse) ProtoReflect() protoreflect.Message
func (*RemoveContactResponse) Reset ¶
func (x *RemoveContactResponse) Reset()
func (*RemoveContactResponse) String ¶
func (x *RemoveContactResponse) String() string
type SearchRequest ¶
type SearchRequest struct { // The query to search for Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Where to start getting contacts from From uint32 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` // Where to stop getting contacts to To uint32 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` // To list only within a group GroupId *string `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,oneof" json:"group_id,omitempty"` // contains filtered or unexported fields }
The request of a Users.Search RPC
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetFrom ¶
func (x *SearchRequest) GetFrom() uint32
func (*SearchRequest) GetGroupId ¶
func (x *SearchRequest) GetGroupId() string
func (*SearchRequest) GetQuery ¶
func (x *SearchRequest) GetQuery() string
func (*SearchRequest) GetTo ¶
func (x *SearchRequest) GetTo() uint32
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct { // The users returned Users []*user.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // Return number of users in database Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
The response of a Users.Search RPC
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetCount ¶
func (x *SearchResponse) GetCount() uint64
func (*SearchResponse) GetUsers ¶
func (x *SearchResponse) GetUsers() []*user.User
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type UpdateRequest ¶
type UpdateRequest struct { // The user identifier to fetch the user UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Updates []*user.Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
The request of a Users.Update RPC
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetUpdates ¶
func (x *UpdateRequest) GetUpdates() []*user.Update
func (*UpdateRequest) GetUserId ¶
func (x *UpdateRequest) GetUserId() *model.UUID
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct {
// contains filtered or unexported fields
}
The response of a Users.Update RPC
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type UploadProfileImageRequest ¶
type UploadProfileImageRequest struct { // The bytes of data to upload Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // The user to upload a profile image to. UserId *model.UUID `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
The request of an Users.UploadProfileImage RPC
func (*UploadProfileImageRequest) Descriptor
deprecated
func (*UploadProfileImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadProfileImageRequest.ProtoReflect.Descriptor instead.
func (*UploadProfileImageRequest) GetData ¶
func (x *UploadProfileImageRequest) GetData() []byte
func (*UploadProfileImageRequest) GetUserId ¶
func (x *UploadProfileImageRequest) GetUserId() *model.UUID
func (*UploadProfileImageRequest) ProtoMessage ¶
func (*UploadProfileImageRequest) ProtoMessage()
func (*UploadProfileImageRequest) ProtoReflect ¶
func (x *UploadProfileImageRequest) ProtoReflect() protoreflect.Message
func (*UploadProfileImageRequest) Reset ¶
func (x *UploadProfileImageRequest) Reset()
func (*UploadProfileImageRequest) String ¶
func (x *UploadProfileImageRequest) String() string
type UploadProfileImageResponse ¶
type UploadProfileImageResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
The response of an Users.UploadProfileImage RPC
func (*UploadProfileImageResponse) Descriptor
deprecated
func (*UploadProfileImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadProfileImageResponse.ProtoReflect.Descriptor instead.
func (*UploadProfileImageResponse) GetUrl ¶
func (x *UploadProfileImageResponse) GetUrl() string
func (*UploadProfileImageResponse) ProtoMessage ¶
func (*UploadProfileImageResponse) ProtoMessage()
func (*UploadProfileImageResponse) ProtoReflect ¶
func (x *UploadProfileImageResponse) ProtoReflect() protoreflect.Message
func (*UploadProfileImageResponse) Reset ¶
func (x *UploadProfileImageResponse) Reset()
func (*UploadProfileImageResponse) String ¶
func (x *UploadProfileImageResponse) String() string