Documentation ¶
Overview ¶
Package rpc is a generated twirp stub package. This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v8.0.0.
It is generated from these files:
auth.proto blob.proto group.proto info.proto invite.proto messagehub_internal.proto messagehub.proto model.proto notification.proto token.proto user.proto
Index ¶
- Constants
- Variables
- func WriteError(resp http.ResponseWriter, err error)
- type AuthConfirmRequest
- func (*AuthConfirmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthConfirmRequest) GetToken() string
- func (*AuthConfirmRequest) ProtoMessage()
- func (x *AuthConfirmRequest) ProtoReflect() protoreflect.Message
- func (x *AuthConfirmRequest) Reset()
- func (x *AuthConfirmRequest) String() string
- type AuthLoginRequest
- func (*AuthLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthLoginRequest) GetName() string
- func (x *AuthLoginRequest) GetPassword() string
- func (x *AuthLoginRequest) GetRememberMe() bool
- func (*AuthLoginRequest) ProtoMessage()
- func (x *AuthLoginRequest) ProtoReflect() protoreflect.Message
- func (x *AuthLoginRequest) Reset()
- func (x *AuthLoginRequest) String() string
- type AuthRecallNamesRequest
- func (*AuthRecallNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRecallNamesRequest) GetEmail() string
- func (*AuthRecallNamesRequest) ProtoMessage()
- func (x *AuthRecallNamesRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRecallNamesRequest) Reset()
- func (x *AuthRecallNamesRequest) String() string
- type AuthRegisterRequest
- func (*AuthRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRegisterRequest) GetEmail() string
- func (x *AuthRegisterRequest) GetFullName() string
- func (x *AuthRegisterRequest) GetHideIdentity() bool
- func (x *AuthRegisterRequest) GetInviteToken() string
- func (x *AuthRegisterRequest) GetName() string
- func (x *AuthRegisterRequest) GetPassword() string
- func (*AuthRegisterRequest) ProtoMessage()
- func (x *AuthRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRegisterRequest) Reset()
- func (x *AuthRegisterRequest) String() string
- type AuthResetPasswordRequest
- func (*AuthResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthResetPasswordRequest) GetNewPassword() string
- func (x *AuthResetPasswordRequest) GetResetToken() string
- func (*AuthResetPasswordRequest) ProtoMessage()
- func (x *AuthResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *AuthResetPasswordRequest) Reset()
- func (x *AuthResetPasswordRequest) String() string
- type AuthSendResetPasswordLinkRequest
- func (*AuthSendResetPasswordLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthSendResetPasswordLinkRequest) GetEmail() string
- func (x *AuthSendResetPasswordLinkRequest) GetName() string
- func (*AuthSendResetPasswordLinkRequest) ProtoMessage()
- func (x *AuthSendResetPasswordLinkRequest) ProtoReflect() protoreflect.Message
- func (x *AuthSendResetPasswordLinkRequest) Reset()
- func (x *AuthSendResetPasswordLinkRequest) String() string
- type AuthService
- type BlobService
- type BlobUploadLinkRequest
- func (*BlobUploadLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlobUploadLinkRequest) GetContentType() string
- func (x *BlobUploadLinkRequest) GetFileName() string
- func (*BlobUploadLinkRequest) ProtoMessage()
- func (x *BlobUploadLinkRequest) ProtoReflect() protoreflect.Message
- func (x *BlobUploadLinkRequest) Reset()
- func (x *BlobUploadLinkRequest) String() string
- type BlobUploadLinkResponse
- func (*BlobUploadLinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlobUploadLinkResponse) GetBlobId() string
- func (x *BlobUploadLinkResponse) GetFormData() map[string]string
- func (x *BlobUploadLinkResponse) GetLink() string
- func (*BlobUploadLinkResponse) ProtoMessage()
- func (x *BlobUploadLinkResponse) ProtoReflect() protoreflect.Message
- func (x *BlobUploadLinkResponse) Reset()
- func (x *BlobUploadLinkResponse) String() string
- type Empty
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetAdmin() *User
- func (x *Group) GetDescription() string
- func (x *Group) GetId() string
- func (x *Group) GetIsPublic() bool
- func (x *Group) GetMemberCount() int32
- func (x *Group) GetName() string
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type GroupAcceptInviteRequest
- func (*GroupAcceptInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupAcceptInviteRequest) GetGroupId() string
- func (x *GroupAcceptInviteRequest) GetInviterId() string
- func (*GroupAcceptInviteRequest) ProtoMessage()
- func (x *GroupAcceptInviteRequest) ProtoReflect() protoreflect.Message
- func (x *GroupAcceptInviteRequest) Reset()
- func (x *GroupAcceptInviteRequest) String() string
- type GroupAddGroupRequest
- func (*GroupAddGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupAddGroupRequest) GetAvatarId() string
- func (x *GroupAddGroupRequest) GetBackgroundId() string
- func (x *GroupAddGroupRequest) GetDescription() string
- func (x *GroupAddGroupRequest) GetIsPublic() bool
- func (x *GroupAddGroupRequest) GetName() string
- func (*GroupAddGroupRequest) ProtoMessage()
- func (x *GroupAddGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupAddGroupRequest) Reset()
- func (x *GroupAddGroupRequest) String() string
- type GroupAddGroupResponse
- func (*GroupAddGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupAddGroupResponse) GetGroup() *Group
- func (*GroupAddGroupResponse) ProtoMessage()
- func (x *GroupAddGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GroupAddGroupResponse) Reset()
- func (x *GroupAddGroupResponse) String() string
- type GroupAddUserRequest
- func (*GroupAddUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupAddUserRequest) GetGroupId() string
- func (x *GroupAddUserRequest) GetUser() string
- func (*GroupAddUserRequest) ProtoMessage()
- func (x *GroupAddUserRequest) ProtoReflect() protoreflect.Message
- func (x *GroupAddUserRequest) Reset()
- func (x *GroupAddUserRequest) String() string
- type GroupConfirmInviteRequest
- func (*GroupConfirmInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupConfirmInviteRequest) GetGroupId() string
- func (x *GroupConfirmInviteRequest) GetInvitedId() string
- func (x *GroupConfirmInviteRequest) GetInviterId() string
- func (*GroupConfirmInviteRequest) ProtoMessage()
- func (x *GroupConfirmInviteRequest) ProtoReflect() protoreflect.Message
- func (x *GroupConfirmInviteRequest) Reset()
- func (x *GroupConfirmInviteRequest) String() string
- type GroupCreateInviteRequest
- func (*GroupCreateInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupCreateInviteRequest) GetGroupId() string
- func (x *GroupCreateInviteRequest) GetInvited() string
- func (x *GroupCreateInviteRequest) GetMessage() string
- func (*GroupCreateInviteRequest) ProtoMessage()
- func (x *GroupCreateInviteRequest) ProtoReflect() protoreflect.Message
- func (x *GroupCreateInviteRequest) Reset()
- func (x *GroupCreateInviteRequest) String() string
- type GroupDeleteGroupRequest
- func (*GroupDeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeleteGroupRequest) GetGroupId() string
- func (*GroupDeleteGroupRequest) ProtoMessage()
- func (x *GroupDeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupDeleteGroupRequest) Reset()
- func (x *GroupDeleteGroupRequest) String() string
- type GroupDeleteInviteRequest
- func (*GroupDeleteInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeleteInviteRequest) GetGroupId() string
- func (x *GroupDeleteInviteRequest) GetInvited() string
- func (*GroupDeleteInviteRequest) ProtoMessage()
- func (x *GroupDeleteInviteRequest) ProtoReflect() protoreflect.Message
- func (x *GroupDeleteInviteRequest) Reset()
- func (x *GroupDeleteInviteRequest) String() string
- type GroupDeleteJoinRequestRequest
- func (*GroupDeleteJoinRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeleteJoinRequestRequest) GetGroupId() string
- func (*GroupDeleteJoinRequestRequest) ProtoMessage()
- func (x *GroupDeleteJoinRequestRequest) ProtoReflect() protoreflect.Message
- func (x *GroupDeleteJoinRequestRequest) Reset()
- func (x *GroupDeleteJoinRequestRequest) String() string
- type GroupDenyInviteRequest
- func (*GroupDenyInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDenyInviteRequest) GetGroupId() string
- func (x *GroupDenyInviteRequest) GetInvitedId() string
- func (x *GroupDenyInviteRequest) GetInviterId() string
- func (*GroupDenyInviteRequest) ProtoMessage()
- func (x *GroupDenyInviteRequest) ProtoReflect() protoreflect.Message
- func (x *GroupDenyInviteRequest) Reset()
- func (x *GroupDenyInviteRequest) String() string
- type GroupEditGroupRequest
- func (*GroupEditGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupEditGroupRequest) GetAvatarChanged() bool
- func (x *GroupEditGroupRequest) GetAvatarId() string
- func (x *GroupEditGroupRequest) GetBackgroundChanged() bool
- func (x *GroupEditGroupRequest) GetBackgroundId() string
- func (x *GroupEditGroupRequest) GetDescription() string
- func (x *GroupEditGroupRequest) GetDescriptionChanged() bool
- func (x *GroupEditGroupRequest) GetGroupId() string
- func (x *GroupEditGroupRequest) GetIsPublic() bool
- func (x *GroupEditGroupRequest) GetIsPublicChanged() bool
- func (*GroupEditGroupRequest) ProtoMessage()
- func (x *GroupEditGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupEditGroupRequest) Reset()
- func (x *GroupEditGroupRequest) String() string
- type GroupGroupDetailsRequest
- func (*GroupGroupDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupGroupDetailsRequest) GetGroupId() string
- func (*GroupGroupDetailsRequest) ProtoMessage()
- func (x *GroupGroupDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GroupGroupDetailsRequest) Reset()
- func (x *GroupGroupDetailsRequest) String() string
- type GroupGroupDetailsResponse
- func (*GroupGroupDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupGroupDetailsResponse) GetGroup() *Group
- func (x *GroupGroupDetailsResponse) GetInvites() []*GroupInvite
- func (x *GroupGroupDetailsResponse) GetMembers() []*User
- func (x *GroupGroupDetailsResponse) GetStatus() string
- func (*GroupGroupDetailsResponse) ProtoMessage()
- func (x *GroupGroupDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GroupGroupDetailsResponse) Reset()
- func (x *GroupGroupDetailsResponse) String() string
- type GroupInvite
- func (*GroupInvite) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInvite) GetAcceptedAt() string
- func (x *GroupInvite) GetAcceptedByAdminAt() string
- func (x *GroupInvite) GetCreatedAt() string
- func (x *GroupInvite) GetGroupDescription() string
- func (x *GroupInvite) GetGroupId() string
- func (x *GroupInvite) GetGroupName() string
- func (x *GroupInvite) GetInvitedFullName() string
- func (x *GroupInvite) GetInvitedId() string
- func (x *GroupInvite) GetInvitedName() string
- func (x *GroupInvite) GetInviterFullName() string
- func (x *GroupInvite) GetInviterId() string
- func (x *GroupInvite) GetInviterName() string
- func (x *GroupInvite) GetMessage() string
- func (x *GroupInvite) GetRejectedAt() string
- func (x *GroupInvite) GetRejectedByAdminAt() string
- func (*GroupInvite) ProtoMessage()
- func (x *GroupInvite) ProtoReflect() protoreflect.Message
- func (x *GroupInvite) Reset()
- func (x *GroupInvite) String() string
- type GroupInvites
- func (*GroupInvites) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInvites) GetGroup() *Group
- func (x *GroupInvites) GetInvites() []*GroupInvite
- func (*GroupInvites) ProtoMessage()
- func (x *GroupInvites) ProtoReflect() protoreflect.Message
- func (x *GroupInvites) Reset()
- func (x *GroupInvites) String() string
- type GroupInvitesForMeResponse
- func (*GroupInvitesForMeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInvitesForMeResponse) GetInvites() []*GroupInvite
- func (*GroupInvitesForMeResponse) ProtoMessage()
- func (x *GroupInvitesForMeResponse) ProtoReflect() protoreflect.Message
- func (x *GroupInvitesForMeResponse) Reset()
- func (x *GroupInvitesForMeResponse) String() string
- type GroupInvitesFromMeResponse
- func (*GroupInvitesFromMeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInvitesFromMeResponse) GetInvites() []*GroupInvite
- func (*GroupInvitesFromMeResponse) ProtoMessage()
- func (x *GroupInvitesFromMeResponse) ProtoReflect() protoreflect.Message
- func (x *GroupInvitesFromMeResponse) Reset()
- func (x *GroupInvitesFromMeResponse) String() string
- type GroupInvitesToConfirmResponse
- func (*GroupInvitesToConfirmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInvitesToConfirmResponse) GetGroups() []*GroupInvites
- func (*GroupInvitesToConfirmResponse) ProtoMessage()
- func (x *GroupInvitesToConfirmResponse) ProtoReflect() protoreflect.Message
- func (x *GroupInvitesToConfirmResponse) Reset()
- func (x *GroupInvitesToConfirmResponse) String() string
- type GroupLeaveGroupRequest
- func (*GroupLeaveGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupLeaveGroupRequest) GetGroupId() string
- func (*GroupLeaveGroupRequest) ProtoMessage()
- func (x *GroupLeaveGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupLeaveGroupRequest) Reset()
- func (x *GroupLeaveGroupRequest) String() string
- type GroupManagedGroupsResponse
- func (*GroupManagedGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupManagedGroupsResponse) GetGroups() []*Group
- func (*GroupManagedGroupsResponse) ProtoMessage()
- func (x *GroupManagedGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GroupManagedGroupsResponse) Reset()
- func (x *GroupManagedGroupsResponse) String() string
- type GroupPublicGroupsResponse
- func (*GroupPublicGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupPublicGroupsResponse) GetGroups() []*GroupPublicGroupsResponseItem
- func (*GroupPublicGroupsResponse) ProtoMessage()
- func (x *GroupPublicGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GroupPublicGroupsResponse) Reset()
- func (x *GroupPublicGroupsResponse) String() string
- type GroupPublicGroupsResponseItem
- func (*GroupPublicGroupsResponseItem) Descriptor() ([]byte, []int)deprecated
- func (x *GroupPublicGroupsResponseItem) GetGroup() *Group
- func (x *GroupPublicGroupsResponseItem) GetStatus() string
- func (*GroupPublicGroupsResponseItem) ProtoMessage()
- func (x *GroupPublicGroupsResponseItem) ProtoReflect() protoreflect.Message
- func (x *GroupPublicGroupsResponseItem) Reset()
- func (x *GroupPublicGroupsResponseItem) String() string
- type GroupRejectInviteRequest
- func (*GroupRejectInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRejectInviteRequest) GetGroupId() string
- func (x *GroupRejectInviteRequest) GetInviterId() string
- func (*GroupRejectInviteRequest) ProtoMessage()
- func (x *GroupRejectInviteRequest) ProtoReflect() protoreflect.Message
- func (x *GroupRejectInviteRequest) Reset()
- func (x *GroupRejectInviteRequest) String() string
- type GroupRemoveUserRequest
- func (*GroupRemoveUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRemoveUserRequest) GetGroupId() string
- func (x *GroupRemoveUserRequest) GetUserId() string
- func (*GroupRemoveUserRequest) ProtoMessage()
- func (x *GroupRemoveUserRequest) ProtoReflect() protoreflect.Message
- func (x *GroupRemoveUserRequest) Reset()
- func (x *GroupRemoveUserRequest) String() string
- type GroupRequestJoinRequest
- func (*GroupRequestJoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRequestJoinRequest) GetGroupId() string
- func (x *GroupRequestJoinRequest) GetMessage() string
- func (*GroupRequestJoinRequest) ProtoMessage()
- func (x *GroupRequestJoinRequest) ProtoReflect() protoreflect.Message
- func (x *GroupRequestJoinRequest) Reset()
- func (x *GroupRequestJoinRequest) String() string
- type GroupService
- type HTTPClient
- type InfoPublicKeyResponse
- func (*InfoPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InfoPublicKeyResponse) GetPublicKey() string
- func (*InfoPublicKeyResponse) ProtoMessage()
- func (x *InfoPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *InfoPublicKeyResponse) Reset()
- func (x *InfoPublicKeyResponse) String() string
- type InfoService
- type InfoVersionResponse
- func (*InfoVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InfoVersionResponse) GetDockerUpdated() string
- func (*InfoVersionResponse) ProtoMessage()
- func (x *InfoVersionResponse) ProtoReflect() protoreflect.Message
- func (x *InfoVersionResponse) Reset()
- func (x *InfoVersionResponse) String() string
- type InviteAcceptRequest
- func (*InviteAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteAcceptRequest) GetInviterId() string
- func (*InviteAcceptRequest) ProtoMessage()
- func (x *InviteAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *InviteAcceptRequest) Reset()
- func (x *InviteAcceptRequest) String() string
- type InviteCreateRequest
- func (*InviteCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteCreateRequest) GetFriend() string
- func (*InviteCreateRequest) ProtoMessage()
- func (x *InviteCreateRequest) ProtoReflect() protoreflect.Message
- func (x *InviteCreateRequest) Reset()
- func (x *InviteCreateRequest) String() string
- type InviteForMeResponse
- func (*InviteForMeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InviteForMeResponse) GetInvites() []*InviteFriendInvite
- func (*InviteForMeResponse) ProtoMessage()
- func (x *InviteForMeResponse) ProtoReflect() protoreflect.Message
- func (x *InviteForMeResponse) Reset()
- func (x *InviteForMeResponse) String() string
- type InviteFriendInvite
- func (*InviteFriendInvite) Descriptor() ([]byte, []int)deprecated
- func (x *InviteFriendInvite) GetAcceptedAt() string
- func (x *InviteFriendInvite) GetCreatedAt() string
- func (x *InviteFriendInvite) GetFriendFullName() string
- func (x *InviteFriendInvite) GetFriendId() string
- func (x *InviteFriendInvite) GetFriendName() string
- func (x *InviteFriendInvite) GetRejectedAt() string
- func (*InviteFriendInvite) ProtoMessage()
- func (x *InviteFriendInvite) ProtoReflect() protoreflect.Message
- func (x *InviteFriendInvite) Reset()
- func (x *InviteFriendInvite) String() string
- type InviteFromMeResponse
- func (*InviteFromMeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InviteFromMeResponse) GetInvites() []*InviteFriendInvite
- func (*InviteFromMeResponse) ProtoMessage()
- func (x *InviteFromMeResponse) ProtoReflect() protoreflect.Message
- func (x *InviteFromMeResponse) Reset()
- func (x *InviteFromMeResponse) String() string
- type InviteRejectRequest
- func (*InviteRejectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteRejectRequest) GetInviterId() string
- func (*InviteRejectRequest) ProtoMessage()
- func (x *InviteRejectRequest) ProtoReflect() protoreflect.Message
- func (x *InviteRejectRequest) Reset()
- func (x *InviteRejectRequest) String() string
- type InviteService
- type MessageHubApproveRequest
- func (*MessageHubApproveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubApproveRequest) GetHubId() string
- func (*MessageHubApproveRequest) ProtoMessage()
- func (x *MessageHubApproveRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubApproveRequest) Reset()
- func (x *MessageHubApproveRequest) String() string
- type MessageHubApproveResponse
- func (*MessageHubApproveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubApproveResponse) GetError() string
- func (*MessageHubApproveResponse) ProtoMessage()
- func (x *MessageHubApproveResponse) ProtoReflect() protoreflect.Message
- func (x *MessageHubApproveResponse) Reset()
- func (x *MessageHubApproveResponse) String() string
- type MessageHubBlockUserRequest
- func (*MessageHubBlockUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubBlockUserRequest) GetHubId() string
- func (x *MessageHubBlockUserRequest) GetUserId() string
- func (*MessageHubBlockUserRequest) ProtoMessage()
- func (x *MessageHubBlockUserRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubBlockUserRequest) Reset()
- func (x *MessageHubBlockUserRequest) String() string
- type MessageHubCreateRequest
- func (*MessageHubCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubCreateRequest) GetHubType() string
- func (x *MessageHubCreateRequest) GetNotes() string
- func (x *MessageHubCreateRequest) GetOwner() string
- func (x *MessageHubCreateRequest) GetSubdomain() string
- func (x *MessageHubCreateRequest) GetTransactionReference() string
- func (*MessageHubCreateRequest) ProtoMessage()
- func (x *MessageHubCreateRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubCreateRequest) Reset()
- func (x *MessageHubCreateRequest) String() string
- type MessageHubHubsResponse
- func (*MessageHubHubsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubHubsResponse) GetHubs() []*MessageHubHubsResponseHub
- func (*MessageHubHubsResponse) ProtoMessage()
- func (x *MessageHubHubsResponse) ProtoReflect() protoreflect.Message
- func (x *MessageHubHubsResponse) Reset()
- func (x *MessageHubHubsResponse) String() string
- type MessageHubHubsResponseHub
- func (*MessageHubHubsResponseHub) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubHubsResponseHub) GetAddress() string
- func (x *MessageHubHubsResponseHub) GetAllowFriendGroups() bool
- func (x *MessageHubHubsResponseHub) GetApprovedAt() string
- func (x *MessageHubHubsResponseHub) GetCreatedAt() string
- func (x *MessageHubHubsResponseHub) GetDetails() string
- func (x *MessageHubHubsResponseHub) GetDisabledAt() string
- func (x *MessageHubHubsResponseHub) GetExpirationDays() int32
- func (x *MessageHubHubsResponseHub) GetId() string
- func (x *MessageHubHubsResponseHub) GetPostLimit() int32
- func (x *MessageHubHubsResponseHub) GetUser() *User
- func (*MessageHubHubsResponseHub) ProtoMessage()
- func (x *MessageHubHubsResponseHub) ProtoReflect() protoreflect.Message
- func (x *MessageHubHubsResponseHub) Reset()
- func (x *MessageHubHubsResponseHub) String() string
- type MessageHubInternalExpirationDaysResponse
- func (*MessageHubInternalExpirationDaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubInternalExpirationDaysResponse) GetExpirationDays() int32
- func (*MessageHubInternalExpirationDaysResponse) ProtoMessage()
- func (x *MessageHubInternalExpirationDaysResponse) ProtoReflect() protoreflect.Message
- func (x *MessageHubInternalExpirationDaysResponse) Reset()
- func (x *MessageHubInternalExpirationDaysResponse) String() string
- type MessageHubInternalPostNotificationsRequest
- func (*MessageHubInternalPostNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubInternalPostNotificationsRequest) GetNotifications() string
- func (*MessageHubInternalPostNotificationsRequest) ProtoMessage()
- func (x *MessageHubInternalPostNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubInternalPostNotificationsRequest) Reset()
- func (x *MessageHubInternalPostNotificationsRequest) String() string
- type MessageHubInternalService
- type MessageHubRegisterRequest
- func (*MessageHubRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubRegisterRequest) GetAddress() string
- func (x *MessageHubRegisterRequest) GetAllowFriendGroups() bool
- func (x *MessageHubRegisterRequest) GetDetails() string
- func (x *MessageHubRegisterRequest) GetPostLimit() int32
- func (*MessageHubRegisterRequest) ProtoMessage()
- func (x *MessageHubRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubRegisterRequest) Reset()
- func (x *MessageHubRegisterRequest) String() string
- type MessageHubRemoveRequest
- func (*MessageHubRemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubRemoveRequest) GetHubId() string
- func (x *MessageHubRemoveRequest) GetSubdomain() string
- func (*MessageHubRemoveRequest) ProtoMessage()
- func (x *MessageHubRemoveRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubRemoveRequest) Reset()
- func (x *MessageHubRemoveRequest) String() string
- type MessageHubRemoveResponse
- func (*MessageHubRemoveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubRemoveResponse) GetMessages() []string
- func (*MessageHubRemoveResponse) ProtoMessage()
- func (x *MessageHubRemoveResponse) ProtoReflect() protoreflect.Message
- func (x *MessageHubRemoveResponse) Reset()
- func (x *MessageHubRemoveResponse) String() string
- type MessageHubReportMessageRequest
- func (*MessageHubReportMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubReportMessageRequest) GetHubId() string
- func (x *MessageHubReportMessageRequest) GetReportId() string
- func (*MessageHubReportMessageRequest) ProtoMessage()
- func (x *MessageHubReportMessageRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubReportMessageRequest) Reset()
- func (x *MessageHubReportMessageRequest) String() string
- type MessageHubService
- type MessageHubSetAllowFriendGroupsRequest
- func (*MessageHubSetAllowFriendGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubSetAllowFriendGroupsRequest) GetAllowFriendGroups() bool
- func (x *MessageHubSetAllowFriendGroupsRequest) GetHubId() string
- func (*MessageHubSetAllowFriendGroupsRequest) ProtoMessage()
- func (x *MessageHubSetAllowFriendGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubSetAllowFriendGroupsRequest) Reset()
- func (x *MessageHubSetAllowFriendGroupsRequest) String() string
- type MessageHubSetExpirationDaysRequest
- func (*MessageHubSetExpirationDaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubSetExpirationDaysRequest) GetExpirationDays() int32
- func (x *MessageHubSetExpirationDaysRequest) GetHubId() string
- func (*MessageHubSetExpirationDaysRequest) ProtoMessage()
- func (x *MessageHubSetExpirationDaysRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubSetExpirationDaysRequest) Reset()
- func (x *MessageHubSetExpirationDaysRequest) String() string
- type MessageHubSetPostLimitRequest
- func (*MessageHubSetPostLimitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubSetPostLimitRequest) GetHubId() string
- func (x *MessageHubSetPostLimitRequest) GetPostLimit() int32
- func (*MessageHubSetPostLimitRequest) ProtoMessage()
- func (x *MessageHubSetPostLimitRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubSetPostLimitRequest) Reset()
- func (x *MessageHubSetPostLimitRequest) String() string
- type MessageHubVerifyRequest
- func (*MessageHubVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubVerifyRequest) GetHubId() string
- func (*MessageHubVerifyRequest) ProtoMessage()
- func (x *MessageHubVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *MessageHubVerifyRequest) Reset()
- func (x *MessageHubVerifyRequest) String() string
- type MessageHubVerifyResponse
- func (*MessageHubVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHubVerifyResponse) GetError() string
- func (*MessageHubVerifyResponse) ProtoMessage()
- func (x *MessageHubVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *MessageHubVerifyResponse) Reset()
- func (x *MessageHubVerifyResponse) String() string
- type MessageSetUserAsPublicRequest
- func (*MessageSetUserAsPublicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageSetUserAsPublicRequest) GetIsPublic() bool
- func (x *MessageSetUserAsPublicRequest) GetUserId() string
- func (*MessageSetUserAsPublicRequest) ProtoMessage()
- func (x *MessageSetUserAsPublicRequest) ProtoReflect() protoreflect.Message
- func (x *MessageSetUserAsPublicRequest) Reset()
- func (x *MessageSetUserAsPublicRequest) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCreatedAt() string
- func (x *Notification) GetData() string
- func (x *Notification) GetId() string
- func (x *Notification) GetReadAt() string
- func (x *Notification) GetText() string
- func (x *Notification) GetType() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationCleanRequest
- func (*NotificationCleanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationCleanRequest) GetLastKnownId() string
- func (*NotificationCleanRequest) ProtoMessage()
- func (x *NotificationCleanRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationCleanRequest) Reset()
- func (x *NotificationCleanRequest) String() string
- type NotificationCountResponse
- func (*NotificationCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationCountResponse) GetTotal() int32
- func (x *NotificationCountResponse) GetUnread() int32
- func (*NotificationCountResponse) ProtoMessage()
- func (x *NotificationCountResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationCountResponse) Reset()
- func (x *NotificationCountResponse) String() string
- type NotificationMarkReadRequest
- func (*NotificationMarkReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationMarkReadRequest) GetLastKnownId() string
- func (*NotificationMarkReadRequest) ProtoMessage()
- func (x *NotificationMarkReadRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationMarkReadRequest) Reset()
- func (x *NotificationMarkReadRequest) String() string
- type NotificationNotificationsResponse
- func (*NotificationNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationNotificationsResponse) GetNotifications() []*Notification
- func (*NotificationNotificationsResponse) ProtoMessage()
- func (x *NotificationNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationNotificationsResponse) Reset()
- func (x *NotificationNotificationsResponse) String() string
- type NotificationService
- type TokenAuthResponse
- type TokenGetMessagesResponse
- func (*TokenGetMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenGetMessagesResponse) GetTokens() map[string]string
- func (*TokenGetMessagesResponse) ProtoMessage()
- func (x *TokenGetMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *TokenGetMessagesResponse) Reset()
- func (x *TokenGetMessagesResponse) String() string
- type TokenGetPublicMessagesRequest
- func (*TokenGetPublicMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenGetPublicMessagesRequest) GetUserId() string
- func (*TokenGetPublicMessagesRequest) ProtoMessage()
- func (x *TokenGetPublicMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *TokenGetPublicMessagesRequest) Reset()
- func (x *TokenGetPublicMessagesRequest) String() string
- type TokenGetPublicMessagesResponse
- func (*TokenGetPublicMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenGetPublicMessagesResponse) GetTokens() map[string]string
- func (*TokenGetPublicMessagesResponse) ProtoMessage()
- func (x *TokenGetPublicMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *TokenGetPublicMessagesResponse) Reset()
- func (x *TokenGetPublicMessagesResponse) String() string
- type TokenPostMessageRequest
- func (*TokenPostMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenPostMessageRequest) GetFriendId() string
- func (x *TokenPostMessageRequest) GetGroupId() string
- func (*TokenPostMessageRequest) ProtoMessage()
- func (x *TokenPostMessageRequest) ProtoReflect() protoreflect.Message
- func (x *TokenPostMessageRequest) Reset()
- func (x *TokenPostMessageRequest) String() string
- type TokenPostMessageResponse
- func (*TokenPostMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenPostMessageResponse) GetMessageKey() string
- func (x *TokenPostMessageResponse) GetTokens() map[string]string
- func (*TokenPostMessageResponse) ProtoMessage()
- func (x *TokenPostMessageResponse) ProtoReflect() protoreflect.Message
- func (x *TokenPostMessageResponse) Reset()
- func (x *TokenPostMessageResponse) String() string
- type TokenService
- type TwirpServer
- func NewAuthServiceServer(svc AuthService, opts ...interface{}) TwirpServer
- func NewBlobServiceServer(svc BlobService, opts ...interface{}) TwirpServer
- func NewGroupServiceServer(svc GroupService, opts ...interface{}) TwirpServer
- func NewInfoServiceServer(svc InfoService, opts ...interface{}) TwirpServer
- func NewInviteServiceServer(svc InviteService, opts ...interface{}) TwirpServer
- func NewMessageHubInternalServiceServer(svc MessageHubInternalService, opts ...interface{}) TwirpServer
- func NewMessageHubServiceServer(svc MessageHubService, opts ...interface{}) TwirpServer
- func NewNotificationServiceServer(svc NotificationService, opts ...interface{}) TwirpServer
- func NewTokenServiceServer(svc TokenService, opts ...interface{}) TwirpServer
- func NewUserServiceServer(svc UserService, opts ...interface{}) TwirpServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetFullName() string
- func (x *User) GetHideIdentity() bool
- func (x *User) GetId() string
- func (x *User) GetIsConfirmed() bool
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserBlockUserRequest
- func (*UserBlockUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserBlockUserRequest) GetUserId() string
- func (*UserBlockUserRequest) ProtoMessage()
- func (x *UserBlockUserRequest) ProtoReflect() protoreflect.Message
- func (x *UserBlockUserRequest) Reset()
- func (x *UserBlockUserRequest) String() string
- type UserEditProfileRequest
- func (*UserEditProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserEditProfileRequest) GetAvatarChanged() bool
- func (x *UserEditProfileRequest) GetAvatarId() string
- func (x *UserEditProfileRequest) GetBackgroundChanged() bool
- func (x *UserEditProfileRequest) GetBackgroundId() string
- func (x *UserEditProfileRequest) GetCurrentPassword() string
- func (x *UserEditProfileRequest) GetEmail() string
- func (x *UserEditProfileRequest) GetEmailChanged() bool
- func (x *UserEditProfileRequest) GetFullName() string
- func (x *UserEditProfileRequest) GetFullNameChanged() bool
- func (x *UserEditProfileRequest) GetHideIdentity() bool
- func (x *UserEditProfileRequest) GetHideIdentityChanged() bool
- func (x *UserEditProfileRequest) GetNewPassword() string
- func (x *UserEditProfileRequest) GetPasswordChanged() bool
- func (*UserEditProfileRequest) ProtoMessage()
- func (x *UserEditProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UserEditProfileRequest) Reset()
- func (x *UserEditProfileRequest) String() string
- type UserFriendsFriend
- func (*UserFriendsFriend) Descriptor() ([]byte, []int)deprecated
- func (x *UserFriendsFriend) GetFriends() []*UserFriendsFriendOfFriend
- func (x *UserFriendsFriend) GetGroupCount() int32
- func (x *UserFriendsFriend) GetUser() *User
- func (*UserFriendsFriend) ProtoMessage()
- func (x *UserFriendsFriend) ProtoReflect() protoreflect.Message
- func (x *UserFriendsFriend) Reset()
- func (x *UserFriendsFriend) String() string
- type UserFriendsFriendOfFriend
- func (*UserFriendsFriendOfFriend) Descriptor() ([]byte, []int)deprecated
- func (x *UserFriendsFriendOfFriend) GetInviteStatus() string
- func (x *UserFriendsFriendOfFriend) GetUser() *User
- func (*UserFriendsFriendOfFriend) ProtoMessage()
- func (x *UserFriendsFriendOfFriend) ProtoReflect() protoreflect.Message
- func (x *UserFriendsFriendOfFriend) Reset()
- func (x *UserFriendsFriendOfFriend) String() string
- type UserFriendsOfFriendsResponse
- func (*UserFriendsOfFriendsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserFriendsOfFriendsResponse) GetFriends() []*UserFriendsOfFriendsResponseFriend
- func (*UserFriendsOfFriendsResponse) ProtoMessage()
- func (x *UserFriendsOfFriendsResponse) ProtoReflect() protoreflect.Message
- func (x *UserFriendsOfFriendsResponse) Reset()
- func (x *UserFriendsOfFriendsResponse) String() string
- type UserFriendsOfFriendsResponseFriend
- func (*UserFriendsOfFriendsResponseFriend) Descriptor() ([]byte, []int)deprecated
- func (x *UserFriendsOfFriendsResponseFriend) GetFriends() []*User
- func (x *UserFriendsOfFriendsResponseFriend) GetInviteStatus() string
- func (x *UserFriendsOfFriendsResponseFriend) GetUser() *User
- func (*UserFriendsOfFriendsResponseFriend) ProtoMessage()
- func (x *UserFriendsOfFriendsResponseFriend) ProtoReflect() protoreflect.Message
- func (x *UserFriendsOfFriendsResponseFriend) Reset()
- func (x *UserFriendsOfFriendsResponseFriend) String() string
- type UserFriendsResponse
- func (*UserFriendsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserFriendsResponse) GetFriends() []*UserFriendsFriend
- func (*UserFriendsResponse) ProtoMessage()
- func (x *UserFriendsResponse) ProtoReflect() protoreflect.Message
- func (x *UserFriendsResponse) Reset()
- func (x *UserFriendsResponse) String() string
- type UserMeResponse
- func (*UserMeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserMeResponse) GetGroups() []*Group
- func (x *UserMeResponse) GetIsAdmin() bool
- func (x *UserMeResponse) GetOwnedHubs() []string
- func (x *UserMeResponse) GetUser() *User
- func (*UserMeResponse) ProtoMessage()
- func (x *UserMeResponse) ProtoReflect() protoreflect.Message
- func (x *UserMeResponse) Reset()
- func (x *UserMeResponse) String() string
- type UserRegisterFCMTokenRequest
- func (*UserRegisterFCMTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRegisterFCMTokenRequest) GetDeviceId() string
- func (x *UserRegisterFCMTokenRequest) GetOs() string
- func (x *UserRegisterFCMTokenRequest) GetToken() string
- func (*UserRegisterFCMTokenRequest) ProtoMessage()
- func (x *UserRegisterFCMTokenRequest) ProtoReflect() protoreflect.Message
- func (x *UserRegisterFCMTokenRequest) Reset()
- func (x *UserRegisterFCMTokenRequest) String() string
- type UserService
- type UserUserRequest
- type UserUserResponse
- func (*UserUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserUserResponse) GetInviteStatus() string
- func (x *UserUserResponse) GetUser() *User
- func (*UserUserResponse) ProtoMessage()
- func (x *UserUserResponse) ProtoReflect() protoreflect.Message
- func (x *UserUserResponse) Reset()
- func (x *UserUserResponse) String() string
- type UserUsersRequest
- type UserUsersResponse
- func (*UserUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserUsersResponse) GetInviteStatuses() []string
- func (x *UserUsersResponse) GetUsers() []*User
- func (*UserUsersResponse) ProtoMessage()
- func (x *UserUsersResponse) ProtoReflect() protoreflect.Message
- func (x *UserUsersResponse) Reset()
- func (x *UserUsersResponse) String() string
Constants ¶
const AuthServicePathPrefix = "/twirp/rpc.AuthService/"
AuthServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const BlobServicePathPrefix = "/twirp/rpc.BlobService/"
BlobServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const GroupServicePathPrefix = "/twirp/rpc.GroupService/"
GroupServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const InfoServicePathPrefix = "/twirp/rpc.InfoService/"
InfoServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const InviteServicePathPrefix = "/twirp/rpc.InviteService/"
InviteServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const MessageHubInternalServicePathPrefix = "/twirp/rpc.MessageHubInternalService/"
MessageHubInternalServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const MessageHubServicePathPrefix = "/twirp/rpc.MessageHubService/"
MessageHubServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const NotificationServicePathPrefix = "/twirp/rpc.NotificationService/"
NotificationServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const TokenServicePathPrefix = "/twirp/rpc.TokenService/"
TokenServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const UserServicePathPrefix = "/twirp/rpc.UserService/"
UserServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
Variables ¶
var File_auth_proto protoreflect.FileDescriptor
var File_blob_proto protoreflect.FileDescriptor
var File_group_proto protoreflect.FileDescriptor
var File_info_proto protoreflect.FileDescriptor
var File_invite_proto protoreflect.FileDescriptor
var File_messagehub_internal_proto protoreflect.FileDescriptor
var File_messagehub_proto protoreflect.FileDescriptor
var File_model_proto protoreflect.FileDescriptor
var File_notification_proto protoreflect.FileDescriptor
var File_token_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
Functions ¶
func WriteError ¶
func WriteError(resp http.ResponseWriter, err error)
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)
Types ¶
type AuthConfirmRequest ¶
type AuthConfirmRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthConfirmRequest) Descriptor
deprecated
func (*AuthConfirmRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthConfirmRequest.ProtoReflect.Descriptor instead.
func (*AuthConfirmRequest) GetToken ¶
func (x *AuthConfirmRequest) GetToken() string
func (*AuthConfirmRequest) ProtoMessage ¶
func (*AuthConfirmRequest) ProtoMessage()
func (*AuthConfirmRequest) ProtoReflect ¶
func (x *AuthConfirmRequest) ProtoReflect() protoreflect.Message
func (*AuthConfirmRequest) Reset ¶
func (x *AuthConfirmRequest) Reset()
func (*AuthConfirmRequest) String ¶
func (x *AuthConfirmRequest) String() string
type AuthLoginRequest ¶
type AuthLoginRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` RememberMe bool `protobuf:"varint,3,opt,name=remember_me,json=rememberMe,proto3" json:"remember_me,omitempty"` // contains filtered or unexported fields }
func (*AuthLoginRequest) Descriptor
deprecated
func (*AuthLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthLoginRequest.ProtoReflect.Descriptor instead.
func (*AuthLoginRequest) GetName ¶
func (x *AuthLoginRequest) GetName() string
func (*AuthLoginRequest) GetPassword ¶
func (x *AuthLoginRequest) GetPassword() string
func (*AuthLoginRequest) GetRememberMe ¶
func (x *AuthLoginRequest) GetRememberMe() bool
func (*AuthLoginRequest) ProtoMessage ¶
func (*AuthLoginRequest) ProtoMessage()
func (*AuthLoginRequest) ProtoReflect ¶
func (x *AuthLoginRequest) ProtoReflect() protoreflect.Message
func (*AuthLoginRequest) Reset ¶
func (x *AuthLoginRequest) Reset()
func (*AuthLoginRequest) String ¶
func (x *AuthLoginRequest) String() string
type AuthRecallNamesRequest ¶
type AuthRecallNamesRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*AuthRecallNamesRequest) Descriptor
deprecated
func (*AuthRecallNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRecallNamesRequest.ProtoReflect.Descriptor instead.
func (*AuthRecallNamesRequest) GetEmail ¶
func (x *AuthRecallNamesRequest) GetEmail() string
func (*AuthRecallNamesRequest) ProtoMessage ¶
func (*AuthRecallNamesRequest) ProtoMessage()
func (*AuthRecallNamesRequest) ProtoReflect ¶
func (x *AuthRecallNamesRequest) ProtoReflect() protoreflect.Message
func (*AuthRecallNamesRequest) Reset ¶
func (x *AuthRecallNamesRequest) Reset()
func (*AuthRecallNamesRequest) String ¶
func (x *AuthRecallNamesRequest) String() string
type AuthRegisterRequest ¶
type AuthRegisterRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` InviteToken string `protobuf:"bytes,5,opt,name=invite_token,json=inviteToken,proto3" json:"invite_token,omitempty"` HideIdentity bool `protobuf:"varint,6,opt,name=hide_identity,json=hideIdentity,proto3" json:"hide_identity,omitempty"` // contains filtered or unexported fields }
func (*AuthRegisterRequest) Descriptor
deprecated
func (*AuthRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRegisterRequest.ProtoReflect.Descriptor instead.
func (*AuthRegisterRequest) GetEmail ¶
func (x *AuthRegisterRequest) GetEmail() string
func (*AuthRegisterRequest) GetFullName ¶
func (x *AuthRegisterRequest) GetFullName() string
func (*AuthRegisterRequest) GetHideIdentity ¶
func (x *AuthRegisterRequest) GetHideIdentity() bool
func (*AuthRegisterRequest) GetInviteToken ¶
func (x *AuthRegisterRequest) GetInviteToken() string
func (*AuthRegisterRequest) GetName ¶
func (x *AuthRegisterRequest) GetName() string
func (*AuthRegisterRequest) GetPassword ¶
func (x *AuthRegisterRequest) GetPassword() string
func (*AuthRegisterRequest) ProtoMessage ¶
func (*AuthRegisterRequest) ProtoMessage()
func (*AuthRegisterRequest) ProtoReflect ¶
func (x *AuthRegisterRequest) ProtoReflect() protoreflect.Message
func (*AuthRegisterRequest) Reset ¶
func (x *AuthRegisterRequest) Reset()
func (*AuthRegisterRequest) String ¶
func (x *AuthRegisterRequest) String() string
type AuthResetPasswordRequest ¶
type AuthResetPasswordRequest struct { ResetToken string `protobuf:"bytes,1,opt,name=reset_token,json=resetToken,proto3" json:"reset_token,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*AuthResetPasswordRequest) Descriptor
deprecated
func (*AuthResetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthResetPasswordRequest.ProtoReflect.Descriptor instead.
func (*AuthResetPasswordRequest) GetNewPassword ¶
func (x *AuthResetPasswordRequest) GetNewPassword() string
func (*AuthResetPasswordRequest) GetResetToken ¶
func (x *AuthResetPasswordRequest) GetResetToken() string
func (*AuthResetPasswordRequest) ProtoMessage ¶
func (*AuthResetPasswordRequest) ProtoMessage()
func (*AuthResetPasswordRequest) ProtoReflect ¶
func (x *AuthResetPasswordRequest) ProtoReflect() protoreflect.Message
func (*AuthResetPasswordRequest) Reset ¶
func (x *AuthResetPasswordRequest) Reset()
func (*AuthResetPasswordRequest) String ¶
func (x *AuthResetPasswordRequest) String() string
type AuthSendResetPasswordLinkRequest ¶
type AuthSendResetPasswordLinkRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*AuthSendResetPasswordLinkRequest) Descriptor
deprecated
func (*AuthSendResetPasswordLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthSendResetPasswordLinkRequest.ProtoReflect.Descriptor instead.
func (*AuthSendResetPasswordLinkRequest) GetEmail ¶
func (x *AuthSendResetPasswordLinkRequest) GetEmail() string
func (*AuthSendResetPasswordLinkRequest) GetName ¶
func (x *AuthSendResetPasswordLinkRequest) GetName() string
func (*AuthSendResetPasswordLinkRequest) ProtoMessage ¶
func (*AuthSendResetPasswordLinkRequest) ProtoMessage()
func (*AuthSendResetPasswordLinkRequest) ProtoReflect ¶
func (x *AuthSendResetPasswordLinkRequest) ProtoReflect() protoreflect.Message
func (*AuthSendResetPasswordLinkRequest) Reset ¶
func (x *AuthSendResetPasswordLinkRequest) Reset()
func (*AuthSendResetPasswordLinkRequest) String ¶
func (x *AuthSendResetPasswordLinkRequest) String() string
type AuthService ¶
type AuthService interface { Register(context.Context, *AuthRegisterRequest) (*Empty, error) Login(context.Context, *AuthLoginRequest) (*Empty, error) Confirm(context.Context, *AuthConfirmRequest) (*Empty, error) SendConfirmLink(context.Context, *Empty) (*Empty, error) SendResetPasswordLink(context.Context, *AuthSendResetPasswordLinkRequest) (*Empty, error) ResetPassword(context.Context, *AuthResetPasswordRequest) (*Empty, error) Logout(context.Context, *Empty) (*Empty, error) RecallNames(context.Context, *AuthRecallNamesRequest) (*Empty, error) }
func NewAuthServiceJSONClient ¶
func NewAuthServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AuthService
NewAuthServiceJSONClient creates a JSON client that implements the AuthService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewAuthServiceProtobufClient ¶
func NewAuthServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AuthService
NewAuthServiceProtobufClient creates a Protobuf client that implements the AuthService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type BlobService ¶
type BlobService interface {
UploadLink(context.Context, *BlobUploadLinkRequest) (*BlobUploadLinkResponse, error)
}
func NewBlobServiceJSONClient ¶
func NewBlobServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) BlobService
NewBlobServiceJSONClient creates a JSON client that implements the BlobService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewBlobServiceProtobufClient ¶
func NewBlobServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) BlobService
NewBlobServiceProtobufClient creates a Protobuf client that implements the BlobService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type BlobUploadLinkRequest ¶
type BlobUploadLinkRequest struct { ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // contains filtered or unexported fields }
func (*BlobUploadLinkRequest) Descriptor
deprecated
func (*BlobUploadLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlobUploadLinkRequest.ProtoReflect.Descriptor instead.
func (*BlobUploadLinkRequest) GetContentType ¶
func (x *BlobUploadLinkRequest) GetContentType() string
func (*BlobUploadLinkRequest) GetFileName ¶
func (x *BlobUploadLinkRequest) GetFileName() string
func (*BlobUploadLinkRequest) ProtoMessage ¶
func (*BlobUploadLinkRequest) ProtoMessage()
func (*BlobUploadLinkRequest) ProtoReflect ¶
func (x *BlobUploadLinkRequest) ProtoReflect() protoreflect.Message
func (*BlobUploadLinkRequest) Reset ¶
func (x *BlobUploadLinkRequest) Reset()
func (*BlobUploadLinkRequest) String ¶
func (x *BlobUploadLinkRequest) String() string
type BlobUploadLinkResponse ¶
type BlobUploadLinkResponse struct { BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` FormData map[string]string `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BlobUploadLinkResponse) Descriptor
deprecated
func (*BlobUploadLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlobUploadLinkResponse.ProtoReflect.Descriptor instead.
func (*BlobUploadLinkResponse) GetBlobId ¶
func (x *BlobUploadLinkResponse) GetBlobId() string
func (*BlobUploadLinkResponse) GetFormData ¶
func (x *BlobUploadLinkResponse) GetFormData() map[string]string
func (*BlobUploadLinkResponse) GetLink ¶
func (x *BlobUploadLinkResponse) GetLink() string
func (*BlobUploadLinkResponse) ProtoMessage ¶
func (*BlobUploadLinkResponse) ProtoMessage()
func (*BlobUploadLinkResponse) ProtoReflect ¶
func (x *BlobUploadLinkResponse) ProtoReflect() protoreflect.Message
func (*BlobUploadLinkResponse) Reset ¶
func (x *BlobUploadLinkResponse) Reset()
func (*BlobUploadLinkResponse) String ¶
func (x *BlobUploadLinkResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Group ¶
type Group struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` IsPublic bool `protobuf:"varint,4,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` Admin *User `protobuf:"bytes,5,opt,name=admin,proto3" json:"admin,omitempty"` MemberCount int32 `protobuf:"varint,6,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"` // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetDescription ¶
func (*Group) GetIsPublic ¶
func (*Group) GetMemberCount ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupAcceptInviteRequest ¶
type GroupAcceptInviteRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` InviterId string `protobuf:"bytes,2,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` // contains filtered or unexported fields }
func (*GroupAcceptInviteRequest) Descriptor
deprecated
func (*GroupAcceptInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupAcceptInviteRequest.ProtoReflect.Descriptor instead.
func (*GroupAcceptInviteRequest) GetGroupId ¶
func (x *GroupAcceptInviteRequest) GetGroupId() string
func (*GroupAcceptInviteRequest) GetInviterId ¶
func (x *GroupAcceptInviteRequest) GetInviterId() string
func (*GroupAcceptInviteRequest) ProtoMessage ¶
func (*GroupAcceptInviteRequest) ProtoMessage()
func (*GroupAcceptInviteRequest) ProtoReflect ¶
func (x *GroupAcceptInviteRequest) ProtoReflect() protoreflect.Message
func (*GroupAcceptInviteRequest) Reset ¶
func (x *GroupAcceptInviteRequest) Reset()
func (*GroupAcceptInviteRequest) String ¶
func (x *GroupAcceptInviteRequest) String() string
type GroupAddGroupRequest ¶
type GroupAddGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` AvatarId string `protobuf:"bytes,3,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` IsPublic bool `protobuf:"varint,4,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` BackgroundId string `protobuf:"bytes,5,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"` // contains filtered or unexported fields }
func (*GroupAddGroupRequest) Descriptor
deprecated
func (*GroupAddGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupAddGroupRequest.ProtoReflect.Descriptor instead.
func (*GroupAddGroupRequest) GetAvatarId ¶
func (x *GroupAddGroupRequest) GetAvatarId() string
func (*GroupAddGroupRequest) GetBackgroundId ¶
func (x *GroupAddGroupRequest) GetBackgroundId() string
func (*GroupAddGroupRequest) GetDescription ¶
func (x *GroupAddGroupRequest) GetDescription() string
func (*GroupAddGroupRequest) GetIsPublic ¶
func (x *GroupAddGroupRequest) GetIsPublic() bool
func (*GroupAddGroupRequest) GetName ¶
func (x *GroupAddGroupRequest) GetName() string
func (*GroupAddGroupRequest) ProtoMessage ¶
func (*GroupAddGroupRequest) ProtoMessage()
func (*GroupAddGroupRequest) ProtoReflect ¶
func (x *GroupAddGroupRequest) ProtoReflect() protoreflect.Message
func (*GroupAddGroupRequest) Reset ¶
func (x *GroupAddGroupRequest) Reset()
func (*GroupAddGroupRequest) String ¶
func (x *GroupAddGroupRequest) String() string
type GroupAddGroupResponse ¶
type GroupAddGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*GroupAddGroupResponse) Descriptor
deprecated
func (*GroupAddGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupAddGroupResponse.ProtoReflect.Descriptor instead.
func (*GroupAddGroupResponse) GetGroup ¶
func (x *GroupAddGroupResponse) GetGroup() *Group
func (*GroupAddGroupResponse) ProtoMessage ¶
func (*GroupAddGroupResponse) ProtoMessage()
func (*GroupAddGroupResponse) ProtoReflect ¶
func (x *GroupAddGroupResponse) ProtoReflect() protoreflect.Message
func (*GroupAddGroupResponse) Reset ¶
func (x *GroupAddGroupResponse) Reset()
func (*GroupAddGroupResponse) String ¶
func (x *GroupAddGroupResponse) String() string
type GroupAddUserRequest ¶
type GroupAddUserRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GroupAddUserRequest) Descriptor
deprecated
func (*GroupAddUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupAddUserRequest.ProtoReflect.Descriptor instead.
func (*GroupAddUserRequest) GetGroupId ¶
func (x *GroupAddUserRequest) GetGroupId() string
func (*GroupAddUserRequest) GetUser ¶
func (x *GroupAddUserRequest) GetUser() string
func (*GroupAddUserRequest) ProtoMessage ¶
func (*GroupAddUserRequest) ProtoMessage()
func (*GroupAddUserRequest) ProtoReflect ¶
func (x *GroupAddUserRequest) ProtoReflect() protoreflect.Message
func (*GroupAddUserRequest) Reset ¶
func (x *GroupAddUserRequest) Reset()
func (*GroupAddUserRequest) String ¶
func (x *GroupAddUserRequest) String() string
type GroupConfirmInviteRequest ¶
type GroupConfirmInviteRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` InviterId string `protobuf:"bytes,2,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` InvitedId string `protobuf:"bytes,3,opt,name=invited_id,json=invitedId,proto3" json:"invited_id,omitempty"` // contains filtered or unexported fields }
func (*GroupConfirmInviteRequest) Descriptor
deprecated
func (*GroupConfirmInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupConfirmInviteRequest.ProtoReflect.Descriptor instead.
func (*GroupConfirmInviteRequest) GetGroupId ¶
func (x *GroupConfirmInviteRequest) GetGroupId() string
func (*GroupConfirmInviteRequest) GetInvitedId ¶
func (x *GroupConfirmInviteRequest) GetInvitedId() string
func (*GroupConfirmInviteRequest) GetInviterId ¶
func (x *GroupConfirmInviteRequest) GetInviterId() string
func (*GroupConfirmInviteRequest) ProtoMessage ¶
func (*GroupConfirmInviteRequest) ProtoMessage()
func (*GroupConfirmInviteRequest) ProtoReflect ¶
func (x *GroupConfirmInviteRequest) ProtoReflect() protoreflect.Message
func (*GroupConfirmInviteRequest) Reset ¶
func (x *GroupConfirmInviteRequest) Reset()
func (*GroupConfirmInviteRequest) String ¶
func (x *GroupConfirmInviteRequest) String() string
type GroupCreateInviteRequest ¶
type GroupCreateInviteRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Invited string `protobuf:"bytes,2,opt,name=invited,proto3" json:"invited,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*GroupCreateInviteRequest) Descriptor
deprecated
func (*GroupCreateInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupCreateInviteRequest.ProtoReflect.Descriptor instead.
func (*GroupCreateInviteRequest) GetGroupId ¶
func (x *GroupCreateInviteRequest) GetGroupId() string
func (*GroupCreateInviteRequest) GetInvited ¶
func (x *GroupCreateInviteRequest) GetInvited() string
func (*GroupCreateInviteRequest) GetMessage ¶
func (x *GroupCreateInviteRequest) GetMessage() string
func (*GroupCreateInviteRequest) ProtoMessage ¶
func (*GroupCreateInviteRequest) ProtoMessage()
func (*GroupCreateInviteRequest) ProtoReflect ¶
func (x *GroupCreateInviteRequest) ProtoReflect() protoreflect.Message
func (*GroupCreateInviteRequest) Reset ¶
func (x *GroupCreateInviteRequest) Reset()
func (*GroupCreateInviteRequest) String ¶
func (x *GroupCreateInviteRequest) String() string
type GroupDeleteGroupRequest ¶
type GroupDeleteGroupRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*GroupDeleteGroupRequest) Descriptor
deprecated
func (*GroupDeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*GroupDeleteGroupRequest) GetGroupId ¶
func (x *GroupDeleteGroupRequest) GetGroupId() string
func (*GroupDeleteGroupRequest) ProtoMessage ¶
func (*GroupDeleteGroupRequest) ProtoMessage()
func (*GroupDeleteGroupRequest) ProtoReflect ¶
func (x *GroupDeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*GroupDeleteGroupRequest) Reset ¶
func (x *GroupDeleteGroupRequest) Reset()
func (*GroupDeleteGroupRequest) String ¶
func (x *GroupDeleteGroupRequest) String() string
type GroupDeleteInviteRequest ¶
type GroupDeleteInviteRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Invited string `protobuf:"bytes,2,opt,name=invited,proto3" json:"invited,omitempty"` // contains filtered or unexported fields }
func (*GroupDeleteInviteRequest) Descriptor
deprecated
func (*GroupDeleteInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeleteInviteRequest.ProtoReflect.Descriptor instead.
func (*GroupDeleteInviteRequest) GetGroupId ¶
func (x *GroupDeleteInviteRequest) GetGroupId() string
func (*GroupDeleteInviteRequest) GetInvited ¶
func (x *GroupDeleteInviteRequest) GetInvited() string
func (*GroupDeleteInviteRequest) ProtoMessage ¶
func (*GroupDeleteInviteRequest) ProtoMessage()
func (*GroupDeleteInviteRequest) ProtoReflect ¶
func (x *GroupDeleteInviteRequest) ProtoReflect() protoreflect.Message
func (*GroupDeleteInviteRequest) Reset ¶
func (x *GroupDeleteInviteRequest) Reset()
func (*GroupDeleteInviteRequest) String ¶
func (x *GroupDeleteInviteRequest) String() string
type GroupDeleteJoinRequestRequest ¶
type GroupDeleteJoinRequestRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*GroupDeleteJoinRequestRequest) Descriptor
deprecated
func (*GroupDeleteJoinRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeleteJoinRequestRequest.ProtoReflect.Descriptor instead.
func (*GroupDeleteJoinRequestRequest) GetGroupId ¶
func (x *GroupDeleteJoinRequestRequest) GetGroupId() string
func (*GroupDeleteJoinRequestRequest) ProtoMessage ¶
func (*GroupDeleteJoinRequestRequest) ProtoMessage()
func (*GroupDeleteJoinRequestRequest) ProtoReflect ¶
func (x *GroupDeleteJoinRequestRequest) ProtoReflect() protoreflect.Message
func (*GroupDeleteJoinRequestRequest) Reset ¶
func (x *GroupDeleteJoinRequestRequest) Reset()
func (*GroupDeleteJoinRequestRequest) String ¶
func (x *GroupDeleteJoinRequestRequest) String() string
type GroupDenyInviteRequest ¶
type GroupDenyInviteRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` InviterId string `protobuf:"bytes,2,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` InvitedId string `protobuf:"bytes,3,opt,name=invited_id,json=invitedId,proto3" json:"invited_id,omitempty"` // contains filtered or unexported fields }
func (*GroupDenyInviteRequest) Descriptor
deprecated
func (*GroupDenyInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupDenyInviteRequest.ProtoReflect.Descriptor instead.
func (*GroupDenyInviteRequest) GetGroupId ¶
func (x *GroupDenyInviteRequest) GetGroupId() string
func (*GroupDenyInviteRequest) GetInvitedId ¶
func (x *GroupDenyInviteRequest) GetInvitedId() string
func (*GroupDenyInviteRequest) GetInviterId ¶
func (x *GroupDenyInviteRequest) GetInviterId() string
func (*GroupDenyInviteRequest) ProtoMessage ¶
func (*GroupDenyInviteRequest) ProtoMessage()
func (*GroupDenyInviteRequest) ProtoReflect ¶
func (x *GroupDenyInviteRequest) ProtoReflect() protoreflect.Message
func (*GroupDenyInviteRequest) Reset ¶
func (x *GroupDenyInviteRequest) Reset()
func (*GroupDenyInviteRequest) String ¶
func (x *GroupDenyInviteRequest) String() string
type GroupEditGroupRequest ¶
type GroupEditGroupRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` DescriptionChanged bool `protobuf:"varint,2,opt,name=description_changed,json=descriptionChanged,proto3" json:"description_changed,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` AvatarChanged bool `protobuf:"varint,4,opt,name=avatar_changed,json=avatarChanged,proto3" json:"avatar_changed,omitempty"` AvatarId string `protobuf:"bytes,5,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` IsPublicChanged bool `protobuf:"varint,6,opt,name=is_public_changed,json=isPublicChanged,proto3" json:"is_public_changed,omitempty"` IsPublic bool `protobuf:"varint,7,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` BackgroundChanged bool `protobuf:"varint,8,opt,name=background_changed,json=backgroundChanged,proto3" json:"background_changed,omitempty"` BackgroundId string `protobuf:"bytes,9,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"` // contains filtered or unexported fields }
func (*GroupEditGroupRequest) Descriptor
deprecated
func (*GroupEditGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupEditGroupRequest.ProtoReflect.Descriptor instead.
func (*GroupEditGroupRequest) GetAvatarChanged ¶
func (x *GroupEditGroupRequest) GetAvatarChanged() bool
func (*GroupEditGroupRequest) GetAvatarId ¶
func (x *GroupEditGroupRequest) GetAvatarId() string
func (*GroupEditGroupRequest) GetBackgroundChanged ¶
func (x *GroupEditGroupRequest) GetBackgroundChanged() bool
func (*GroupEditGroupRequest) GetBackgroundId ¶
func (x *GroupEditGroupRequest) GetBackgroundId() string
func (*GroupEditGroupRequest) GetDescription ¶
func (x *GroupEditGroupRequest) GetDescription() string
func (*GroupEditGroupRequest) GetDescriptionChanged ¶
func (x *GroupEditGroupRequest) GetDescriptionChanged() bool
func (*GroupEditGroupRequest) GetGroupId ¶
func (x *GroupEditGroupRequest) GetGroupId() string
func (*GroupEditGroupRequest) GetIsPublic ¶
func (x *GroupEditGroupRequest) GetIsPublic() bool
func (*GroupEditGroupRequest) GetIsPublicChanged ¶
func (x *GroupEditGroupRequest) GetIsPublicChanged() bool
func (*GroupEditGroupRequest) ProtoMessage ¶
func (*GroupEditGroupRequest) ProtoMessage()
func (*GroupEditGroupRequest) ProtoReflect ¶
func (x *GroupEditGroupRequest) ProtoReflect() protoreflect.Message
func (*GroupEditGroupRequest) Reset ¶
func (x *GroupEditGroupRequest) Reset()
func (*GroupEditGroupRequest) String ¶
func (x *GroupEditGroupRequest) String() string
type GroupGroupDetailsRequest ¶
type GroupGroupDetailsRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*GroupGroupDetailsRequest) Descriptor
deprecated
func (*GroupGroupDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupGroupDetailsRequest.ProtoReflect.Descriptor instead.
func (*GroupGroupDetailsRequest) GetGroupId ¶
func (x *GroupGroupDetailsRequest) GetGroupId() string
func (*GroupGroupDetailsRequest) ProtoMessage ¶
func (*GroupGroupDetailsRequest) ProtoMessage()
func (*GroupGroupDetailsRequest) ProtoReflect ¶
func (x *GroupGroupDetailsRequest) ProtoReflect() protoreflect.Message
func (*GroupGroupDetailsRequest) Reset ¶
func (x *GroupGroupDetailsRequest) Reset()
func (*GroupGroupDetailsRequest) String ¶
func (x *GroupGroupDetailsRequest) String() string
type GroupGroupDetailsResponse ¶
type GroupGroupDetailsResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Members []*User `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` Invites []*GroupInvite `protobuf:"bytes,3,rep,name=invites,proto3" json:"invites,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GroupGroupDetailsResponse) Descriptor
deprecated
func (*GroupGroupDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupGroupDetailsResponse.ProtoReflect.Descriptor instead.
func (*GroupGroupDetailsResponse) GetGroup ¶
func (x *GroupGroupDetailsResponse) GetGroup() *Group
func (*GroupGroupDetailsResponse) GetInvites ¶
func (x *GroupGroupDetailsResponse) GetInvites() []*GroupInvite
func (*GroupGroupDetailsResponse) GetMembers ¶
func (x *GroupGroupDetailsResponse) GetMembers() []*User
func (*GroupGroupDetailsResponse) GetStatus ¶
func (x *GroupGroupDetailsResponse) GetStatus() string
func (*GroupGroupDetailsResponse) ProtoMessage ¶
func (*GroupGroupDetailsResponse) ProtoMessage()
func (*GroupGroupDetailsResponse) ProtoReflect ¶
func (x *GroupGroupDetailsResponse) ProtoReflect() protoreflect.Message
func (*GroupGroupDetailsResponse) Reset ¶
func (x *GroupGroupDetailsResponse) Reset()
func (*GroupGroupDetailsResponse) String ¶
func (x *GroupGroupDetailsResponse) String() string
type GroupInvite ¶
type GroupInvite struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` GroupDescription string `protobuf:"bytes,3,opt,name=group_description,json=groupDescription,proto3" json:"group_description,omitempty"` InviterId string `protobuf:"bytes,4,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` InviterName string `protobuf:"bytes,5,opt,name=inviter_name,json=inviterName,proto3" json:"inviter_name,omitempty"` InviterFullName string `protobuf:"bytes,6,opt,name=inviter_full_name,json=inviterFullName,proto3" json:"inviter_full_name,omitempty"` InvitedId string `protobuf:"bytes,7,opt,name=invited_id,json=invitedId,proto3" json:"invited_id,omitempty"` InvitedName string `protobuf:"bytes,8,opt,name=invited_name,json=invitedName,proto3" json:"invited_name,omitempty"` InvitedFullName string `protobuf:"bytes,9,opt,name=invited_full_name,json=invitedFullName,proto3" json:"invited_full_name,omitempty"` CreatedAt string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` AcceptedAt string `protobuf:"bytes,11,opt,name=accepted_at,json=acceptedAt,proto3" json:"accepted_at,omitempty"` RejectedAt string `protobuf:"bytes,12,opt,name=rejected_at,json=rejectedAt,proto3" json:"rejected_at,omitempty"` AcceptedByAdminAt string `protobuf:"bytes,13,opt,name=accepted_by_admin_at,json=acceptedByAdminAt,proto3" json:"accepted_by_admin_at,omitempty"` RejectedByAdminAt string `protobuf:"bytes,14,opt,name=rejected_by_admin_at,json=rejectedByAdminAt,proto3" json:"rejected_by_admin_at,omitempty"` Message string `protobuf:"bytes,15,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*GroupInvite) Descriptor
deprecated
func (*GroupInvite) Descriptor() ([]byte, []int)
Deprecated: Use GroupInvite.ProtoReflect.Descriptor instead.
func (*GroupInvite) GetAcceptedAt ¶
func (x *GroupInvite) GetAcceptedAt() string
func (*GroupInvite) GetAcceptedByAdminAt ¶
func (x *GroupInvite) GetAcceptedByAdminAt() string
func (*GroupInvite) GetCreatedAt ¶
func (x *GroupInvite) GetCreatedAt() string
func (*GroupInvite) GetGroupDescription ¶
func (x *GroupInvite) GetGroupDescription() string
func (*GroupInvite) GetGroupId ¶
func (x *GroupInvite) GetGroupId() string
func (*GroupInvite) GetGroupName ¶
func (x *GroupInvite) GetGroupName() string
func (*GroupInvite) GetInvitedFullName ¶
func (x *GroupInvite) GetInvitedFullName() string
func (*GroupInvite) GetInvitedId ¶
func (x *GroupInvite) GetInvitedId() string
func (*GroupInvite) GetInvitedName ¶
func (x *GroupInvite) GetInvitedName() string
func (*GroupInvite) GetInviterFullName ¶
func (x *GroupInvite) GetInviterFullName() string
func (*GroupInvite) GetInviterId ¶
func (x *GroupInvite) GetInviterId() string
func (*GroupInvite) GetInviterName ¶
func (x *GroupInvite) GetInviterName() string
func (*GroupInvite) GetMessage ¶
func (x *GroupInvite) GetMessage() string
func (*GroupInvite) GetRejectedAt ¶
func (x *GroupInvite) GetRejectedAt() string
func (*GroupInvite) GetRejectedByAdminAt ¶
func (x *GroupInvite) GetRejectedByAdminAt() string
func (*GroupInvite) ProtoMessage ¶
func (*GroupInvite) ProtoMessage()
func (*GroupInvite) ProtoReflect ¶
func (x *GroupInvite) ProtoReflect() protoreflect.Message
func (*GroupInvite) Reset ¶
func (x *GroupInvite) Reset()
func (*GroupInvite) String ¶
func (x *GroupInvite) String() string
type GroupInvites ¶
type GroupInvites struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Invites []*GroupInvite `protobuf:"bytes,4,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*GroupInvites) Descriptor
deprecated
func (*GroupInvites) Descriptor() ([]byte, []int)
Deprecated: Use GroupInvites.ProtoReflect.Descriptor instead.
func (*GroupInvites) GetGroup ¶
func (x *GroupInvites) GetGroup() *Group
func (*GroupInvites) GetInvites ¶
func (x *GroupInvites) GetInvites() []*GroupInvite
func (*GroupInvites) ProtoMessage ¶
func (*GroupInvites) ProtoMessage()
func (*GroupInvites) ProtoReflect ¶
func (x *GroupInvites) ProtoReflect() protoreflect.Message
func (*GroupInvites) Reset ¶
func (x *GroupInvites) Reset()
func (*GroupInvites) String ¶
func (x *GroupInvites) String() string
type GroupInvitesForMeResponse ¶
type GroupInvitesForMeResponse struct { Invites []*GroupInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*GroupInvitesForMeResponse) Descriptor
deprecated
func (*GroupInvitesForMeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupInvitesForMeResponse.ProtoReflect.Descriptor instead.
func (*GroupInvitesForMeResponse) GetInvites ¶
func (x *GroupInvitesForMeResponse) GetInvites() []*GroupInvite
func (*GroupInvitesForMeResponse) ProtoMessage ¶
func (*GroupInvitesForMeResponse) ProtoMessage()
func (*GroupInvitesForMeResponse) ProtoReflect ¶
func (x *GroupInvitesForMeResponse) ProtoReflect() protoreflect.Message
func (*GroupInvitesForMeResponse) Reset ¶
func (x *GroupInvitesForMeResponse) Reset()
func (*GroupInvitesForMeResponse) String ¶
func (x *GroupInvitesForMeResponse) String() string
type GroupInvitesFromMeResponse ¶
type GroupInvitesFromMeResponse struct { Invites []*GroupInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*GroupInvitesFromMeResponse) Descriptor
deprecated
func (*GroupInvitesFromMeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupInvitesFromMeResponse.ProtoReflect.Descriptor instead.
func (*GroupInvitesFromMeResponse) GetInvites ¶
func (x *GroupInvitesFromMeResponse) GetInvites() []*GroupInvite
func (*GroupInvitesFromMeResponse) ProtoMessage ¶
func (*GroupInvitesFromMeResponse) ProtoMessage()
func (*GroupInvitesFromMeResponse) ProtoReflect ¶
func (x *GroupInvitesFromMeResponse) ProtoReflect() protoreflect.Message
func (*GroupInvitesFromMeResponse) Reset ¶
func (x *GroupInvitesFromMeResponse) Reset()
func (*GroupInvitesFromMeResponse) String ¶
func (x *GroupInvitesFromMeResponse) String() string
type GroupInvitesToConfirmResponse ¶
type GroupInvitesToConfirmResponse struct { Groups []*GroupInvites `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GroupInvitesToConfirmResponse) Descriptor
deprecated
func (*GroupInvitesToConfirmResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupInvitesToConfirmResponse.ProtoReflect.Descriptor instead.
func (*GroupInvitesToConfirmResponse) GetGroups ¶
func (x *GroupInvitesToConfirmResponse) GetGroups() []*GroupInvites
func (*GroupInvitesToConfirmResponse) ProtoMessage ¶
func (*GroupInvitesToConfirmResponse) ProtoMessage()
func (*GroupInvitesToConfirmResponse) ProtoReflect ¶
func (x *GroupInvitesToConfirmResponse) ProtoReflect() protoreflect.Message
func (*GroupInvitesToConfirmResponse) Reset ¶
func (x *GroupInvitesToConfirmResponse) Reset()
func (*GroupInvitesToConfirmResponse) String ¶
func (x *GroupInvitesToConfirmResponse) String() string
type GroupLeaveGroupRequest ¶
type GroupLeaveGroupRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*GroupLeaveGroupRequest) Descriptor
deprecated
func (*GroupLeaveGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupLeaveGroupRequest.ProtoReflect.Descriptor instead.
func (*GroupLeaveGroupRequest) GetGroupId ¶
func (x *GroupLeaveGroupRequest) GetGroupId() string
func (*GroupLeaveGroupRequest) ProtoMessage ¶
func (*GroupLeaveGroupRequest) ProtoMessage()
func (*GroupLeaveGroupRequest) ProtoReflect ¶
func (x *GroupLeaveGroupRequest) ProtoReflect() protoreflect.Message
func (*GroupLeaveGroupRequest) Reset ¶
func (x *GroupLeaveGroupRequest) Reset()
func (*GroupLeaveGroupRequest) String ¶
func (x *GroupLeaveGroupRequest) String() string
type GroupManagedGroupsResponse ¶
type GroupManagedGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GroupManagedGroupsResponse) Descriptor
deprecated
func (*GroupManagedGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupManagedGroupsResponse.ProtoReflect.Descriptor instead.
func (*GroupManagedGroupsResponse) GetGroups ¶
func (x *GroupManagedGroupsResponse) GetGroups() []*Group
func (*GroupManagedGroupsResponse) ProtoMessage ¶
func (*GroupManagedGroupsResponse) ProtoMessage()
func (*GroupManagedGroupsResponse) ProtoReflect ¶
func (x *GroupManagedGroupsResponse) ProtoReflect() protoreflect.Message
func (*GroupManagedGroupsResponse) Reset ¶
func (x *GroupManagedGroupsResponse) Reset()
func (*GroupManagedGroupsResponse) String ¶
func (x *GroupManagedGroupsResponse) String() string
type GroupPublicGroupsResponse ¶
type GroupPublicGroupsResponse struct { Groups []*GroupPublicGroupsResponseItem `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GroupPublicGroupsResponse) Descriptor
deprecated
func (*GroupPublicGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupPublicGroupsResponse.ProtoReflect.Descriptor instead.
func (*GroupPublicGroupsResponse) GetGroups ¶
func (x *GroupPublicGroupsResponse) GetGroups() []*GroupPublicGroupsResponseItem
func (*GroupPublicGroupsResponse) ProtoMessage ¶
func (*GroupPublicGroupsResponse) ProtoMessage()
func (*GroupPublicGroupsResponse) ProtoReflect ¶
func (x *GroupPublicGroupsResponse) ProtoReflect() protoreflect.Message
func (*GroupPublicGroupsResponse) Reset ¶
func (x *GroupPublicGroupsResponse) Reset()
func (*GroupPublicGroupsResponse) String ¶
func (x *GroupPublicGroupsResponse) String() string
type GroupPublicGroupsResponseItem ¶
type GroupPublicGroupsResponseItem struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GroupPublicGroupsResponseItem) Descriptor
deprecated
func (*GroupPublicGroupsResponseItem) Descriptor() ([]byte, []int)
Deprecated: Use GroupPublicGroupsResponseItem.ProtoReflect.Descriptor instead.
func (*GroupPublicGroupsResponseItem) GetGroup ¶
func (x *GroupPublicGroupsResponseItem) GetGroup() *Group
func (*GroupPublicGroupsResponseItem) GetStatus ¶
func (x *GroupPublicGroupsResponseItem) GetStatus() string
func (*GroupPublicGroupsResponseItem) ProtoMessage ¶
func (*GroupPublicGroupsResponseItem) ProtoMessage()
func (*GroupPublicGroupsResponseItem) ProtoReflect ¶
func (x *GroupPublicGroupsResponseItem) ProtoReflect() protoreflect.Message
func (*GroupPublicGroupsResponseItem) Reset ¶
func (x *GroupPublicGroupsResponseItem) Reset()
func (*GroupPublicGroupsResponseItem) String ¶
func (x *GroupPublicGroupsResponseItem) String() string
type GroupRejectInviteRequest ¶
type GroupRejectInviteRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` InviterId string `protobuf:"bytes,2,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` // contains filtered or unexported fields }
func (*GroupRejectInviteRequest) Descriptor
deprecated
func (*GroupRejectInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRejectInviteRequest.ProtoReflect.Descriptor instead.
func (*GroupRejectInviteRequest) GetGroupId ¶
func (x *GroupRejectInviteRequest) GetGroupId() string
func (*GroupRejectInviteRequest) GetInviterId ¶
func (x *GroupRejectInviteRequest) GetInviterId() string
func (*GroupRejectInviteRequest) ProtoMessage ¶
func (*GroupRejectInviteRequest) ProtoMessage()
func (*GroupRejectInviteRequest) ProtoReflect ¶
func (x *GroupRejectInviteRequest) ProtoReflect() protoreflect.Message
func (*GroupRejectInviteRequest) Reset ¶
func (x *GroupRejectInviteRequest) Reset()
func (*GroupRejectInviteRequest) String ¶
func (x *GroupRejectInviteRequest) String() string
type GroupRemoveUserRequest ¶
type GroupRemoveUserRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GroupRemoveUserRequest) Descriptor
deprecated
func (*GroupRemoveUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRemoveUserRequest.ProtoReflect.Descriptor instead.
func (*GroupRemoveUserRequest) GetGroupId ¶
func (x *GroupRemoveUserRequest) GetGroupId() string
func (*GroupRemoveUserRequest) GetUserId ¶
func (x *GroupRemoveUserRequest) GetUserId() string
func (*GroupRemoveUserRequest) ProtoMessage ¶
func (*GroupRemoveUserRequest) ProtoMessage()
func (*GroupRemoveUserRequest) ProtoReflect ¶
func (x *GroupRemoveUserRequest) ProtoReflect() protoreflect.Message
func (*GroupRemoveUserRequest) Reset ¶
func (x *GroupRemoveUserRequest) Reset()
func (*GroupRemoveUserRequest) String ¶
func (x *GroupRemoveUserRequest) String() string
type GroupRequestJoinRequest ¶
type GroupRequestJoinRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*GroupRequestJoinRequest) Descriptor
deprecated
func (*GroupRequestJoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRequestJoinRequest.ProtoReflect.Descriptor instead.
func (*GroupRequestJoinRequest) GetGroupId ¶
func (x *GroupRequestJoinRequest) GetGroupId() string
func (*GroupRequestJoinRequest) GetMessage ¶
func (x *GroupRequestJoinRequest) GetMessage() string
func (*GroupRequestJoinRequest) ProtoMessage ¶
func (*GroupRequestJoinRequest) ProtoMessage()
func (*GroupRequestJoinRequest) ProtoReflect ¶
func (x *GroupRequestJoinRequest) ProtoReflect() protoreflect.Message
func (*GroupRequestJoinRequest) Reset ¶
func (x *GroupRequestJoinRequest) Reset()
func (*GroupRequestJoinRequest) String ¶
func (x *GroupRequestJoinRequest) String() string
type GroupService ¶
type GroupService interface { // Admin API AddGroup(context.Context, *GroupAddGroupRequest) (*GroupAddGroupResponse, error) EditGroup(context.Context, *GroupEditGroupRequest) (*Empty, error) DeleteGroup(context.Context, *GroupDeleteGroupRequest) (*Empty, error) ManagedGroup(context.Context, *Empty) (*GroupManagedGroupsResponse, error) AddUser(context.Context, *GroupAddUserRequest) (*Empty, error) RemoveUser(context.Context, *GroupRemoveUserRequest) (*Empty, error) InvitesToConfirm(context.Context, *Empty) (*GroupInvitesToConfirmResponse, error) ConfirmInvite(context.Context, *GroupConfirmInviteRequest) (*Empty, error) DenyInvite(context.Context, *GroupDenyInviteRequest) (*Empty, error) // User API PublicGroups(context.Context, *Empty) (*GroupPublicGroupsResponse, error) GroupDetails(context.Context, *GroupGroupDetailsRequest) (*GroupGroupDetailsResponse, error) RequestJoin(context.Context, *GroupRequestJoinRequest) (*Empty, error) DeleteJoinRequest(context.Context, *GroupDeleteJoinRequestRequest) (*Empty, error) LeaveGroup(context.Context, *GroupLeaveGroupRequest) (*Empty, error) InvitesFromMe(context.Context, *Empty) (*GroupInvitesFromMeResponse, error) InvitesForMe(context.Context, *Empty) (*GroupInvitesForMeResponse, error) // Low-level API CreateInvite(context.Context, *GroupCreateInviteRequest) (*Empty, error) DeleteInvite(context.Context, *GroupDeleteInviteRequest) (*Empty, error) AcceptInvite(context.Context, *GroupAcceptInviteRequest) (*Empty, error) RejectInvite(context.Context, *GroupRejectInviteRequest) (*Empty, error) }
func NewGroupServiceJSONClient ¶
func NewGroupServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) GroupService
NewGroupServiceJSONClient creates a JSON client that implements the GroupService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewGroupServiceProtobufClient ¶
func NewGroupServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) GroupService
NewGroupServiceProtobufClient creates a Protobuf client that implements the GroupService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type HTTPClient ¶
HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.
HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.
type InfoPublicKeyResponse ¶
type InfoPublicKeyResponse struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*InfoPublicKeyResponse) Descriptor
deprecated
func (*InfoPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*InfoPublicKeyResponse) GetPublicKey ¶
func (x *InfoPublicKeyResponse) GetPublicKey() string
func (*InfoPublicKeyResponse) ProtoMessage ¶
func (*InfoPublicKeyResponse) ProtoMessage()
func (*InfoPublicKeyResponse) ProtoReflect ¶
func (x *InfoPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*InfoPublicKeyResponse) Reset ¶
func (x *InfoPublicKeyResponse) Reset()
func (*InfoPublicKeyResponse) String ¶
func (x *InfoPublicKeyResponse) String() string
type InfoService ¶
type InfoService interface { PublicKey(context.Context, *Empty) (*InfoPublicKeyResponse, error) Version(context.Context, *Empty) (*InfoVersionResponse, error) }
func NewInfoServiceJSONClient ¶
func NewInfoServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) InfoService
NewInfoServiceJSONClient creates a JSON client that implements the InfoService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewInfoServiceProtobufClient ¶
func NewInfoServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) InfoService
NewInfoServiceProtobufClient creates a Protobuf client that implements the InfoService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type InfoVersionResponse ¶
type InfoVersionResponse struct { DockerUpdated string `protobuf:"bytes,1,opt,name=docker_updated,json=dockerUpdated,proto3" json:"docker_updated,omitempty"` // contains filtered or unexported fields }
func (*InfoVersionResponse) Descriptor
deprecated
func (*InfoVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoVersionResponse.ProtoReflect.Descriptor instead.
func (*InfoVersionResponse) GetDockerUpdated ¶
func (x *InfoVersionResponse) GetDockerUpdated() string
func (*InfoVersionResponse) ProtoMessage ¶
func (*InfoVersionResponse) ProtoMessage()
func (*InfoVersionResponse) ProtoReflect ¶
func (x *InfoVersionResponse) ProtoReflect() protoreflect.Message
func (*InfoVersionResponse) Reset ¶
func (x *InfoVersionResponse) Reset()
func (*InfoVersionResponse) String ¶
func (x *InfoVersionResponse) String() string
type InviteAcceptRequest ¶
type InviteAcceptRequest struct { InviterId string `protobuf:"bytes,1,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` // contains filtered or unexported fields }
func (*InviteAcceptRequest) Descriptor
deprecated
func (*InviteAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteAcceptRequest.ProtoReflect.Descriptor instead.
func (*InviteAcceptRequest) GetInviterId ¶
func (x *InviteAcceptRequest) GetInviterId() string
func (*InviteAcceptRequest) ProtoMessage ¶
func (*InviteAcceptRequest) ProtoMessage()
func (*InviteAcceptRequest) ProtoReflect ¶
func (x *InviteAcceptRequest) ProtoReflect() protoreflect.Message
func (*InviteAcceptRequest) Reset ¶
func (x *InviteAcceptRequest) Reset()
func (*InviteAcceptRequest) String ¶
func (x *InviteAcceptRequest) String() string
type InviteCreateRequest ¶
type InviteCreateRequest struct { Friend string `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend,omitempty"` // contains filtered or unexported fields }
func (*InviteCreateRequest) Descriptor
deprecated
func (*InviteCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteCreateRequest.ProtoReflect.Descriptor instead.
func (*InviteCreateRequest) GetFriend ¶
func (x *InviteCreateRequest) GetFriend() string
func (*InviteCreateRequest) ProtoMessage ¶
func (*InviteCreateRequest) ProtoMessage()
func (*InviteCreateRequest) ProtoReflect ¶
func (x *InviteCreateRequest) ProtoReflect() protoreflect.Message
func (*InviteCreateRequest) Reset ¶
func (x *InviteCreateRequest) Reset()
func (*InviteCreateRequest) String ¶
func (x *InviteCreateRequest) String() string
type InviteForMeResponse ¶
type InviteForMeResponse struct { Invites []*InviteFriendInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*InviteForMeResponse) Descriptor
deprecated
func (*InviteForMeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InviteForMeResponse.ProtoReflect.Descriptor instead.
func (*InviteForMeResponse) GetInvites ¶
func (x *InviteForMeResponse) GetInvites() []*InviteFriendInvite
func (*InviteForMeResponse) ProtoMessage ¶
func (*InviteForMeResponse) ProtoMessage()
func (*InviteForMeResponse) ProtoReflect ¶
func (x *InviteForMeResponse) ProtoReflect() protoreflect.Message
func (*InviteForMeResponse) Reset ¶
func (x *InviteForMeResponse) Reset()
func (*InviteForMeResponse) String ¶
func (x *InviteForMeResponse) String() string
type InviteFriendInvite ¶
type InviteFriendInvite struct { FriendId string `protobuf:"bytes,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` FriendName string `protobuf:"bytes,2,opt,name=friend_name,json=friendName,proto3" json:"friend_name,omitempty"` FriendFullName string `protobuf:"bytes,3,opt,name=friend_full_name,json=friendFullName,proto3" json:"friend_full_name,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` AcceptedAt string `protobuf:"bytes,6,opt,name=accepted_at,json=acceptedAt,proto3" json:"accepted_at,omitempty"` RejectedAt string `protobuf:"bytes,7,opt,name=rejected_at,json=rejectedAt,proto3" json:"rejected_at,omitempty"` // contains filtered or unexported fields }
func (*InviteFriendInvite) Descriptor
deprecated
func (*InviteFriendInvite) Descriptor() ([]byte, []int)
Deprecated: Use InviteFriendInvite.ProtoReflect.Descriptor instead.
func (*InviteFriendInvite) GetAcceptedAt ¶
func (x *InviteFriendInvite) GetAcceptedAt() string
func (*InviteFriendInvite) GetCreatedAt ¶
func (x *InviteFriendInvite) GetCreatedAt() string
func (*InviteFriendInvite) GetFriendFullName ¶
func (x *InviteFriendInvite) GetFriendFullName() string
func (*InviteFriendInvite) GetFriendId ¶
func (x *InviteFriendInvite) GetFriendId() string
func (*InviteFriendInvite) GetFriendName ¶
func (x *InviteFriendInvite) GetFriendName() string
func (*InviteFriendInvite) GetRejectedAt ¶
func (x *InviteFriendInvite) GetRejectedAt() string
func (*InviteFriendInvite) ProtoMessage ¶
func (*InviteFriendInvite) ProtoMessage()
func (*InviteFriendInvite) ProtoReflect ¶
func (x *InviteFriendInvite) ProtoReflect() protoreflect.Message
func (*InviteFriendInvite) Reset ¶
func (x *InviteFriendInvite) Reset()
func (*InviteFriendInvite) String ¶
func (x *InviteFriendInvite) String() string
type InviteFromMeResponse ¶
type InviteFromMeResponse struct { Invites []*InviteFriendInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*InviteFromMeResponse) Descriptor
deprecated
func (*InviteFromMeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InviteFromMeResponse.ProtoReflect.Descriptor instead.
func (*InviteFromMeResponse) GetInvites ¶
func (x *InviteFromMeResponse) GetInvites() []*InviteFriendInvite
func (*InviteFromMeResponse) ProtoMessage ¶
func (*InviteFromMeResponse) ProtoMessage()
func (*InviteFromMeResponse) ProtoReflect ¶
func (x *InviteFromMeResponse) ProtoReflect() protoreflect.Message
func (*InviteFromMeResponse) Reset ¶
func (x *InviteFromMeResponse) Reset()
func (*InviteFromMeResponse) String ¶
func (x *InviteFromMeResponse) String() string
type InviteRejectRequest ¶
type InviteRejectRequest struct { InviterId string `protobuf:"bytes,1,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"` // contains filtered or unexported fields }
func (*InviteRejectRequest) Descriptor
deprecated
func (*InviteRejectRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteRejectRequest.ProtoReflect.Descriptor instead.
func (*InviteRejectRequest) GetInviterId ¶
func (x *InviteRejectRequest) GetInviterId() string
func (*InviteRejectRequest) ProtoMessage ¶
func (*InviteRejectRequest) ProtoMessage()
func (*InviteRejectRequest) ProtoReflect ¶
func (x *InviteRejectRequest) ProtoReflect() protoreflect.Message
func (*InviteRejectRequest) Reset ¶
func (x *InviteRejectRequest) Reset()
func (*InviteRejectRequest) String ¶
func (x *InviteRejectRequest) String() string
type InviteService ¶
type InviteService interface { Create(context.Context, *InviteCreateRequest) (*Empty, error) Accept(context.Context, *InviteAcceptRequest) (*Empty, error) Reject(context.Context, *InviteRejectRequest) (*Empty, error) FromMe(context.Context, *Empty) (*InviteFromMeResponse, error) ForMe(context.Context, *Empty) (*InviteForMeResponse, error) }
func NewInviteServiceJSONClient ¶
func NewInviteServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) InviteService
NewInviteServiceJSONClient creates a JSON client that implements the InviteService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewInviteServiceProtobufClient ¶
func NewInviteServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) InviteService
NewInviteServiceProtobufClient creates a Protobuf client that implements the InviteService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type MessageHubApproveRequest ¶
type MessageHubApproveRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` // contains filtered or unexported fields }
func (*MessageHubApproveRequest) Descriptor
deprecated
func (*MessageHubApproveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubApproveRequest.ProtoReflect.Descriptor instead.
func (*MessageHubApproveRequest) GetHubId ¶
func (x *MessageHubApproveRequest) GetHubId() string
func (*MessageHubApproveRequest) ProtoMessage ¶
func (*MessageHubApproveRequest) ProtoMessage()
func (*MessageHubApproveRequest) ProtoReflect ¶
func (x *MessageHubApproveRequest) ProtoReflect() protoreflect.Message
func (*MessageHubApproveRequest) Reset ¶
func (x *MessageHubApproveRequest) Reset()
func (*MessageHubApproveRequest) String ¶
func (x *MessageHubApproveRequest) String() string
type MessageHubApproveResponse ¶
type MessageHubApproveResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*MessageHubApproveResponse) Descriptor
deprecated
func (*MessageHubApproveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubApproveResponse.ProtoReflect.Descriptor instead.
func (*MessageHubApproveResponse) GetError ¶
func (x *MessageHubApproveResponse) GetError() string
func (*MessageHubApproveResponse) ProtoMessage ¶
func (*MessageHubApproveResponse) ProtoMessage()
func (*MessageHubApproveResponse) ProtoReflect ¶
func (x *MessageHubApproveResponse) ProtoReflect() protoreflect.Message
func (*MessageHubApproveResponse) Reset ¶
func (x *MessageHubApproveResponse) Reset()
func (*MessageHubApproveResponse) String ¶
func (x *MessageHubApproveResponse) String() string
type MessageHubBlockUserRequest ¶
type MessageHubBlockUserRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*MessageHubBlockUserRequest) Descriptor
deprecated
func (*MessageHubBlockUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubBlockUserRequest.ProtoReflect.Descriptor instead.
func (*MessageHubBlockUserRequest) GetHubId ¶
func (x *MessageHubBlockUserRequest) GetHubId() string
func (*MessageHubBlockUserRequest) GetUserId ¶
func (x *MessageHubBlockUserRequest) GetUserId() string
func (*MessageHubBlockUserRequest) ProtoMessage ¶
func (*MessageHubBlockUserRequest) ProtoMessage()
func (*MessageHubBlockUserRequest) ProtoReflect ¶
func (x *MessageHubBlockUserRequest) ProtoReflect() protoreflect.Message
func (*MessageHubBlockUserRequest) Reset ¶
func (x *MessageHubBlockUserRequest) Reset()
func (*MessageHubBlockUserRequest) String ¶
func (x *MessageHubBlockUserRequest) String() string
type MessageHubCreateRequest ¶
type MessageHubCreateRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Subdomain string `protobuf:"bytes,2,opt,name=subdomain,proto3" json:"subdomain,omitempty"` Notes string `protobuf:"bytes,3,opt,name=notes,proto3" json:"notes,omitempty"` HubType string `protobuf:"bytes,4,opt,name=hub_type,json=hubType,proto3" json:"hub_type,omitempty"` TransactionReference string `protobuf:"bytes,5,opt,name=transaction_reference,json=transactionReference,proto3" json:"transaction_reference,omitempty"` // contains filtered or unexported fields }
func (*MessageHubCreateRequest) Descriptor
deprecated
func (*MessageHubCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubCreateRequest.ProtoReflect.Descriptor instead.
func (*MessageHubCreateRequest) GetHubType ¶
func (x *MessageHubCreateRequest) GetHubType() string
func (*MessageHubCreateRequest) GetNotes ¶
func (x *MessageHubCreateRequest) GetNotes() string
func (*MessageHubCreateRequest) GetOwner ¶
func (x *MessageHubCreateRequest) GetOwner() string
func (*MessageHubCreateRequest) GetSubdomain ¶
func (x *MessageHubCreateRequest) GetSubdomain() string
func (*MessageHubCreateRequest) GetTransactionReference ¶
func (x *MessageHubCreateRequest) GetTransactionReference() string
func (*MessageHubCreateRequest) ProtoMessage ¶
func (*MessageHubCreateRequest) ProtoMessage()
func (*MessageHubCreateRequest) ProtoReflect ¶
func (x *MessageHubCreateRequest) ProtoReflect() protoreflect.Message
func (*MessageHubCreateRequest) Reset ¶
func (x *MessageHubCreateRequest) Reset()
func (*MessageHubCreateRequest) String ¶
func (x *MessageHubCreateRequest) String() string
type MessageHubHubsResponse ¶
type MessageHubHubsResponse struct { Hubs []*MessageHubHubsResponseHub `protobuf:"bytes,1,rep,name=hubs,proto3" json:"hubs,omitempty"` // contains filtered or unexported fields }
func (*MessageHubHubsResponse) Descriptor
deprecated
func (*MessageHubHubsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubHubsResponse.ProtoReflect.Descriptor instead.
func (*MessageHubHubsResponse) GetHubs ¶
func (x *MessageHubHubsResponse) GetHubs() []*MessageHubHubsResponseHub
func (*MessageHubHubsResponse) ProtoMessage ¶
func (*MessageHubHubsResponse) ProtoMessage()
func (*MessageHubHubsResponse) ProtoReflect ¶
func (x *MessageHubHubsResponse) ProtoReflect() protoreflect.Message
func (*MessageHubHubsResponse) Reset ¶
func (x *MessageHubHubsResponse) Reset()
func (*MessageHubHubsResponse) String ¶
func (x *MessageHubHubsResponse) String() string
type MessageHubHubsResponseHub ¶
type MessageHubHubsResponseHub struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ApprovedAt string `protobuf:"bytes,5,opt,name=approved_at,json=approvedAt,proto3" json:"approved_at,omitempty"` DisabledAt string `protobuf:"bytes,6,opt,name=disabled_at,json=disabledAt,proto3" json:"disabled_at,omitempty"` Details string `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"` PostLimit int32 `protobuf:"varint,8,opt,name=post_limit,json=postLimit,proto3" json:"post_limit,omitempty"` AllowFriendGroups bool `protobuf:"varint,9,opt,name=allow_friend_groups,json=allowFriendGroups,proto3" json:"allow_friend_groups,omitempty"` ExpirationDays int32 `protobuf:"varint,10,opt,name=expiration_days,json=expirationDays,proto3" json:"expiration_days,omitempty"` // contains filtered or unexported fields }
func (*MessageHubHubsResponseHub) Descriptor
deprecated
func (*MessageHubHubsResponseHub) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubHubsResponseHub.ProtoReflect.Descriptor instead.
func (*MessageHubHubsResponseHub) GetAddress ¶
func (x *MessageHubHubsResponseHub) GetAddress() string
func (*MessageHubHubsResponseHub) GetAllowFriendGroups ¶
func (x *MessageHubHubsResponseHub) GetAllowFriendGroups() bool
func (*MessageHubHubsResponseHub) GetApprovedAt ¶
func (x *MessageHubHubsResponseHub) GetApprovedAt() string
func (*MessageHubHubsResponseHub) GetCreatedAt ¶
func (x *MessageHubHubsResponseHub) GetCreatedAt() string
func (*MessageHubHubsResponseHub) GetDetails ¶
func (x *MessageHubHubsResponseHub) GetDetails() string
func (*MessageHubHubsResponseHub) GetDisabledAt ¶
func (x *MessageHubHubsResponseHub) GetDisabledAt() string
func (*MessageHubHubsResponseHub) GetExpirationDays ¶
func (x *MessageHubHubsResponseHub) GetExpirationDays() int32
func (*MessageHubHubsResponseHub) GetId ¶
func (x *MessageHubHubsResponseHub) GetId() string
func (*MessageHubHubsResponseHub) GetPostLimit ¶
func (x *MessageHubHubsResponseHub) GetPostLimit() int32
func (*MessageHubHubsResponseHub) GetUser ¶
func (x *MessageHubHubsResponseHub) GetUser() *User
func (*MessageHubHubsResponseHub) ProtoMessage ¶
func (*MessageHubHubsResponseHub) ProtoMessage()
func (*MessageHubHubsResponseHub) ProtoReflect ¶
func (x *MessageHubHubsResponseHub) ProtoReflect() protoreflect.Message
func (*MessageHubHubsResponseHub) Reset ¶
func (x *MessageHubHubsResponseHub) Reset()
func (*MessageHubHubsResponseHub) String ¶
func (x *MessageHubHubsResponseHub) String() string
type MessageHubInternalExpirationDaysResponse ¶
type MessageHubInternalExpirationDaysResponse struct { ExpirationDays int32 `protobuf:"varint,1,opt,name=expiration_days,json=expirationDays,proto3" json:"expiration_days,omitempty"` // contains filtered or unexported fields }
func (*MessageHubInternalExpirationDaysResponse) Descriptor
deprecated
func (*MessageHubInternalExpirationDaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubInternalExpirationDaysResponse.ProtoReflect.Descriptor instead.
func (*MessageHubInternalExpirationDaysResponse) GetExpirationDays ¶
func (x *MessageHubInternalExpirationDaysResponse) GetExpirationDays() int32
func (*MessageHubInternalExpirationDaysResponse) ProtoMessage ¶
func (*MessageHubInternalExpirationDaysResponse) ProtoMessage()
func (*MessageHubInternalExpirationDaysResponse) ProtoReflect ¶
func (x *MessageHubInternalExpirationDaysResponse) ProtoReflect() protoreflect.Message
func (*MessageHubInternalExpirationDaysResponse) Reset ¶
func (x *MessageHubInternalExpirationDaysResponse) Reset()
func (*MessageHubInternalExpirationDaysResponse) String ¶
func (x *MessageHubInternalExpirationDaysResponse) String() string
type MessageHubInternalPostNotificationsRequest ¶
type MessageHubInternalPostNotificationsRequest struct { Notifications string `protobuf:"bytes,1,opt,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*MessageHubInternalPostNotificationsRequest) Descriptor
deprecated
func (*MessageHubInternalPostNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubInternalPostNotificationsRequest.ProtoReflect.Descriptor instead.
func (*MessageHubInternalPostNotificationsRequest) GetNotifications ¶
func (x *MessageHubInternalPostNotificationsRequest) GetNotifications() string
func (*MessageHubInternalPostNotificationsRequest) ProtoMessage ¶
func (*MessageHubInternalPostNotificationsRequest) ProtoMessage()
func (*MessageHubInternalPostNotificationsRequest) ProtoReflect ¶
func (x *MessageHubInternalPostNotificationsRequest) ProtoReflect() protoreflect.Message
func (*MessageHubInternalPostNotificationsRequest) Reset ¶
func (x *MessageHubInternalPostNotificationsRequest) Reset()
func (*MessageHubInternalPostNotificationsRequest) String ¶
func (x *MessageHubInternalPostNotificationsRequest) String() string
type MessageHubInternalService ¶
type MessageHubInternalService interface { PostNotifications(context.Context, *MessageHubInternalPostNotificationsRequest) (*Empty, error) ExpirationDays(context.Context, *Empty) (*MessageHubInternalExpirationDaysResponse, error) SetUserAsPublic(context.Context, *MessageSetUserAsPublicRequest) (*Empty, error) }
func NewMessageHubInternalServiceJSONClient ¶
func NewMessageHubInternalServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) MessageHubInternalService
NewMessageHubInternalServiceJSONClient creates a JSON client that implements the MessageHubInternalService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewMessageHubInternalServiceProtobufClient ¶
func NewMessageHubInternalServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) MessageHubInternalService
NewMessageHubInternalServiceProtobufClient creates a Protobuf client that implements the MessageHubInternalService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type MessageHubRegisterRequest ¶
type MessageHubRegisterRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` PostLimit int32 `protobuf:"varint,3,opt,name=post_limit,json=postLimit,proto3" json:"post_limit,omitempty"` AllowFriendGroups bool `protobuf:"varint,4,opt,name=allow_friend_groups,json=allowFriendGroups,proto3" json:"allow_friend_groups,omitempty"` // contains filtered or unexported fields }
func (*MessageHubRegisterRequest) Descriptor
deprecated
func (*MessageHubRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubRegisterRequest.ProtoReflect.Descriptor instead.
func (*MessageHubRegisterRequest) GetAddress ¶
func (x *MessageHubRegisterRequest) GetAddress() string
func (*MessageHubRegisterRequest) GetAllowFriendGroups ¶
func (x *MessageHubRegisterRequest) GetAllowFriendGroups() bool
func (*MessageHubRegisterRequest) GetDetails ¶
func (x *MessageHubRegisterRequest) GetDetails() string
func (*MessageHubRegisterRequest) GetPostLimit ¶
func (x *MessageHubRegisterRequest) GetPostLimit() int32
func (*MessageHubRegisterRequest) ProtoMessage ¶
func (*MessageHubRegisterRequest) ProtoMessage()
func (*MessageHubRegisterRequest) ProtoReflect ¶
func (x *MessageHubRegisterRequest) ProtoReflect() protoreflect.Message
func (*MessageHubRegisterRequest) Reset ¶
func (x *MessageHubRegisterRequest) Reset()
func (*MessageHubRegisterRequest) String ¶
func (x *MessageHubRegisterRequest) String() string
type MessageHubRemoveRequest ¶
type MessageHubRemoveRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` Subdomain string `protobuf:"bytes,2,opt,name=subdomain,proto3" json:"subdomain,omitempty"` // contains filtered or unexported fields }
func (*MessageHubRemoveRequest) Descriptor
deprecated
func (*MessageHubRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubRemoveRequest.ProtoReflect.Descriptor instead.
func (*MessageHubRemoveRequest) GetHubId ¶
func (x *MessageHubRemoveRequest) GetHubId() string
func (*MessageHubRemoveRequest) GetSubdomain ¶
func (x *MessageHubRemoveRequest) GetSubdomain() string
func (*MessageHubRemoveRequest) ProtoMessage ¶
func (*MessageHubRemoveRequest) ProtoMessage()
func (*MessageHubRemoveRequest) ProtoReflect ¶
func (x *MessageHubRemoveRequest) ProtoReflect() protoreflect.Message
func (*MessageHubRemoveRequest) Reset ¶
func (x *MessageHubRemoveRequest) Reset()
func (*MessageHubRemoveRequest) String ¶
func (x *MessageHubRemoveRequest) String() string
type MessageHubRemoveResponse ¶
type MessageHubRemoveResponse struct { Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*MessageHubRemoveResponse) Descriptor
deprecated
func (*MessageHubRemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubRemoveResponse.ProtoReflect.Descriptor instead.
func (*MessageHubRemoveResponse) GetMessages ¶
func (x *MessageHubRemoveResponse) GetMessages() []string
func (*MessageHubRemoveResponse) ProtoMessage ¶
func (*MessageHubRemoveResponse) ProtoMessage()
func (*MessageHubRemoveResponse) ProtoReflect ¶
func (x *MessageHubRemoveResponse) ProtoReflect() protoreflect.Message
func (*MessageHubRemoveResponse) Reset ¶
func (x *MessageHubRemoveResponse) Reset()
func (*MessageHubRemoveResponse) String ¶
func (x *MessageHubRemoveResponse) String() string
type MessageHubReportMessageRequest ¶
type MessageHubReportMessageRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` ReportId string `protobuf:"bytes,2,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty"` // contains filtered or unexported fields }
func (*MessageHubReportMessageRequest) Descriptor
deprecated
func (*MessageHubReportMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubReportMessageRequest.ProtoReflect.Descriptor instead.
func (*MessageHubReportMessageRequest) GetHubId ¶
func (x *MessageHubReportMessageRequest) GetHubId() string
func (*MessageHubReportMessageRequest) GetReportId ¶
func (x *MessageHubReportMessageRequest) GetReportId() string
func (*MessageHubReportMessageRequest) ProtoMessage ¶
func (*MessageHubReportMessageRequest) ProtoMessage()
func (*MessageHubReportMessageRequest) ProtoReflect ¶
func (x *MessageHubReportMessageRequest) ProtoReflect() protoreflect.Message
func (*MessageHubReportMessageRequest) Reset ¶
func (x *MessageHubReportMessageRequest) Reset()
func (*MessageHubReportMessageRequest) String ¶
func (x *MessageHubReportMessageRequest) String() string
type MessageHubService ¶
type MessageHubService interface { Create(context.Context, *MessageHubCreateRequest) (*Empty, error) Register(context.Context, *MessageHubRegisterRequest) (*Empty, error) Hubs(context.Context, *Empty) (*MessageHubHubsResponse, error) Verify(context.Context, *MessageHubVerifyRequest) (*MessageHubVerifyResponse, error) Approve(context.Context, *MessageHubApproveRequest) (*MessageHubApproveResponse, error) Remove(context.Context, *MessageHubRemoveRequest) (*MessageHubRemoveResponse, error) SetPostLimit(context.Context, *MessageHubSetPostLimitRequest) (*Empty, error) SetAllowFriendGroups(context.Context, *MessageHubSetAllowFriendGroupsRequest) (*Empty, error) SetExpirationDays(context.Context, *MessageHubSetExpirationDaysRequest) (*Empty, error) ReportMessage(context.Context, *MessageHubReportMessageRequest) (*Empty, error) BlockUser(context.Context, *MessageHubBlockUserRequest) (*Empty, error) }
func NewMessageHubServiceJSONClient ¶
func NewMessageHubServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) MessageHubService
NewMessageHubServiceJSONClient creates a JSON client that implements the MessageHubService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewMessageHubServiceProtobufClient ¶
func NewMessageHubServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) MessageHubService
NewMessageHubServiceProtobufClient creates a Protobuf client that implements the MessageHubService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type MessageHubSetAllowFriendGroupsRequest ¶
type MessageHubSetAllowFriendGroupsRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` AllowFriendGroups bool `protobuf:"varint,2,opt,name=allow_friend_groups,json=allowFriendGroups,proto3" json:"allow_friend_groups,omitempty"` // contains filtered or unexported fields }
func (*MessageHubSetAllowFriendGroupsRequest) Descriptor
deprecated
func (*MessageHubSetAllowFriendGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubSetAllowFriendGroupsRequest.ProtoReflect.Descriptor instead.
func (*MessageHubSetAllowFriendGroupsRequest) GetAllowFriendGroups ¶
func (x *MessageHubSetAllowFriendGroupsRequest) GetAllowFriendGroups() bool
func (*MessageHubSetAllowFriendGroupsRequest) GetHubId ¶
func (x *MessageHubSetAllowFriendGroupsRequest) GetHubId() string
func (*MessageHubSetAllowFriendGroupsRequest) ProtoMessage ¶
func (*MessageHubSetAllowFriendGroupsRequest) ProtoMessage()
func (*MessageHubSetAllowFriendGroupsRequest) ProtoReflect ¶
func (x *MessageHubSetAllowFriendGroupsRequest) ProtoReflect() protoreflect.Message
func (*MessageHubSetAllowFriendGroupsRequest) Reset ¶
func (x *MessageHubSetAllowFriendGroupsRequest) Reset()
func (*MessageHubSetAllowFriendGroupsRequest) String ¶
func (x *MessageHubSetAllowFriendGroupsRequest) String() string
type MessageHubSetExpirationDaysRequest ¶
type MessageHubSetExpirationDaysRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` ExpirationDays int32 `protobuf:"varint,2,opt,name=expiration_days,json=expirationDays,proto3" json:"expiration_days,omitempty"` // contains filtered or unexported fields }
func (*MessageHubSetExpirationDaysRequest) Descriptor
deprecated
func (*MessageHubSetExpirationDaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubSetExpirationDaysRequest.ProtoReflect.Descriptor instead.
func (*MessageHubSetExpirationDaysRequest) GetExpirationDays ¶
func (x *MessageHubSetExpirationDaysRequest) GetExpirationDays() int32
func (*MessageHubSetExpirationDaysRequest) GetHubId ¶
func (x *MessageHubSetExpirationDaysRequest) GetHubId() string
func (*MessageHubSetExpirationDaysRequest) ProtoMessage ¶
func (*MessageHubSetExpirationDaysRequest) ProtoMessage()
func (*MessageHubSetExpirationDaysRequest) ProtoReflect ¶
func (x *MessageHubSetExpirationDaysRequest) ProtoReflect() protoreflect.Message
func (*MessageHubSetExpirationDaysRequest) Reset ¶
func (x *MessageHubSetExpirationDaysRequest) Reset()
func (*MessageHubSetExpirationDaysRequest) String ¶
func (x *MessageHubSetExpirationDaysRequest) String() string
type MessageHubSetPostLimitRequest ¶
type MessageHubSetPostLimitRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` PostLimit int32 `protobuf:"varint,2,opt,name=post_limit,json=postLimit,proto3" json:"post_limit,omitempty"` // contains filtered or unexported fields }
func (*MessageHubSetPostLimitRequest) Descriptor
deprecated
func (*MessageHubSetPostLimitRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubSetPostLimitRequest.ProtoReflect.Descriptor instead.
func (*MessageHubSetPostLimitRequest) GetHubId ¶
func (x *MessageHubSetPostLimitRequest) GetHubId() string
func (*MessageHubSetPostLimitRequest) GetPostLimit ¶
func (x *MessageHubSetPostLimitRequest) GetPostLimit() int32
func (*MessageHubSetPostLimitRequest) ProtoMessage ¶
func (*MessageHubSetPostLimitRequest) ProtoMessage()
func (*MessageHubSetPostLimitRequest) ProtoReflect ¶
func (x *MessageHubSetPostLimitRequest) ProtoReflect() protoreflect.Message
func (*MessageHubSetPostLimitRequest) Reset ¶
func (x *MessageHubSetPostLimitRequest) Reset()
func (*MessageHubSetPostLimitRequest) String ¶
func (x *MessageHubSetPostLimitRequest) String() string
type MessageHubVerifyRequest ¶
type MessageHubVerifyRequest struct { HubId string `protobuf:"bytes,1,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` // contains filtered or unexported fields }
func (*MessageHubVerifyRequest) Descriptor
deprecated
func (*MessageHubVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubVerifyRequest.ProtoReflect.Descriptor instead.
func (*MessageHubVerifyRequest) GetHubId ¶
func (x *MessageHubVerifyRequest) GetHubId() string
func (*MessageHubVerifyRequest) ProtoMessage ¶
func (*MessageHubVerifyRequest) ProtoMessage()
func (*MessageHubVerifyRequest) ProtoReflect ¶
func (x *MessageHubVerifyRequest) ProtoReflect() protoreflect.Message
func (*MessageHubVerifyRequest) Reset ¶
func (x *MessageHubVerifyRequest) Reset()
func (*MessageHubVerifyRequest) String ¶
func (x *MessageHubVerifyRequest) String() string
type MessageHubVerifyResponse ¶
type MessageHubVerifyResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*MessageHubVerifyResponse) Descriptor
deprecated
func (*MessageHubVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageHubVerifyResponse.ProtoReflect.Descriptor instead.
func (*MessageHubVerifyResponse) GetError ¶
func (x *MessageHubVerifyResponse) GetError() string
func (*MessageHubVerifyResponse) ProtoMessage ¶
func (*MessageHubVerifyResponse) ProtoMessage()
func (*MessageHubVerifyResponse) ProtoReflect ¶
func (x *MessageHubVerifyResponse) ProtoReflect() protoreflect.Message
func (*MessageHubVerifyResponse) Reset ¶
func (x *MessageHubVerifyResponse) Reset()
func (*MessageHubVerifyResponse) String ¶
func (x *MessageHubVerifyResponse) String() string
type MessageSetUserAsPublicRequest ¶
type MessageSetUserAsPublicRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` IsPublic bool `protobuf:"varint,2,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // contains filtered or unexported fields }
func (*MessageSetUserAsPublicRequest) Descriptor
deprecated
func (*MessageSetUserAsPublicRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageSetUserAsPublicRequest.ProtoReflect.Descriptor instead.
func (*MessageSetUserAsPublicRequest) GetIsPublic ¶
func (x *MessageSetUserAsPublicRequest) GetIsPublic() bool
func (*MessageSetUserAsPublicRequest) GetUserId ¶
func (x *MessageSetUserAsPublicRequest) GetUserId() string
func (*MessageSetUserAsPublicRequest) ProtoMessage ¶
func (*MessageSetUserAsPublicRequest) ProtoMessage()
func (*MessageSetUserAsPublicRequest) ProtoReflect ¶
func (x *MessageSetUserAsPublicRequest) ProtoReflect() protoreflect.Message
func (*MessageSetUserAsPublicRequest) Reset ¶
func (x *MessageSetUserAsPublicRequest) Reset()
func (*MessageSetUserAsPublicRequest) String ¶
func (x *MessageSetUserAsPublicRequest) String() string
type Notification ¶
type Notification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ReadAt string `protobuf:"bytes,6,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCreatedAt ¶
func (x *Notification) GetCreatedAt() string
func (*Notification) GetData ¶
func (x *Notification) GetData() string
func (*Notification) GetId ¶
func (x *Notification) GetId() string
func (*Notification) GetReadAt ¶
func (x *Notification) GetReadAt() string
func (*Notification) GetText ¶
func (x *Notification) GetText() string
func (*Notification) GetType ¶
func (x *Notification) GetType() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationCleanRequest ¶
type NotificationCleanRequest struct { LastKnownId string `protobuf:"bytes,1,opt,name=last_known_id,json=lastKnownId,proto3" json:"last_known_id,omitempty"` // contains filtered or unexported fields }
func (*NotificationCleanRequest) Descriptor
deprecated
func (*NotificationCleanRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationCleanRequest.ProtoReflect.Descriptor instead.
func (*NotificationCleanRequest) GetLastKnownId ¶
func (x *NotificationCleanRequest) GetLastKnownId() string
func (*NotificationCleanRequest) ProtoMessage ¶
func (*NotificationCleanRequest) ProtoMessage()
func (*NotificationCleanRequest) ProtoReflect ¶
func (x *NotificationCleanRequest) ProtoReflect() protoreflect.Message
func (*NotificationCleanRequest) Reset ¶
func (x *NotificationCleanRequest) Reset()
func (*NotificationCleanRequest) String ¶
func (x *NotificationCleanRequest) String() string
type NotificationCountResponse ¶
type NotificationCountResponse struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Unread int32 `protobuf:"varint,2,opt,name=unread,proto3" json:"unread,omitempty"` // contains filtered or unexported fields }
func (*NotificationCountResponse) Descriptor
deprecated
func (*NotificationCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationCountResponse.ProtoReflect.Descriptor instead.
func (*NotificationCountResponse) GetTotal ¶
func (x *NotificationCountResponse) GetTotal() int32
func (*NotificationCountResponse) GetUnread ¶
func (x *NotificationCountResponse) GetUnread() int32
func (*NotificationCountResponse) ProtoMessage ¶
func (*NotificationCountResponse) ProtoMessage()
func (*NotificationCountResponse) ProtoReflect ¶
func (x *NotificationCountResponse) ProtoReflect() protoreflect.Message
func (*NotificationCountResponse) Reset ¶
func (x *NotificationCountResponse) Reset()
func (*NotificationCountResponse) String ¶
func (x *NotificationCountResponse) String() string
type NotificationMarkReadRequest ¶
type NotificationMarkReadRequest struct { LastKnownId string `protobuf:"bytes,1,opt,name=last_known_id,json=lastKnownId,proto3" json:"last_known_id,omitempty"` // contains filtered or unexported fields }
func (*NotificationMarkReadRequest) Descriptor
deprecated
func (*NotificationMarkReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationMarkReadRequest.ProtoReflect.Descriptor instead.
func (*NotificationMarkReadRequest) GetLastKnownId ¶
func (x *NotificationMarkReadRequest) GetLastKnownId() string
func (*NotificationMarkReadRequest) ProtoMessage ¶
func (*NotificationMarkReadRequest) ProtoMessage()
func (*NotificationMarkReadRequest) ProtoReflect ¶
func (x *NotificationMarkReadRequest) ProtoReflect() protoreflect.Message
func (*NotificationMarkReadRequest) Reset ¶
func (x *NotificationMarkReadRequest) Reset()
func (*NotificationMarkReadRequest) String ¶
func (x *NotificationMarkReadRequest) String() string
type NotificationNotificationsResponse ¶
type NotificationNotificationsResponse struct { Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*NotificationNotificationsResponse) Descriptor
deprecated
func (*NotificationNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationNotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationNotificationsResponse) GetNotifications ¶
func (x *NotificationNotificationsResponse) GetNotifications() []*Notification
func (*NotificationNotificationsResponse) ProtoMessage ¶
func (*NotificationNotificationsResponse) ProtoMessage()
func (*NotificationNotificationsResponse) ProtoReflect ¶
func (x *NotificationNotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationNotificationsResponse) Reset ¶
func (x *NotificationNotificationsResponse) Reset()
func (*NotificationNotificationsResponse) String ¶
func (x *NotificationNotificationsResponse) String() string
type NotificationService ¶
type NotificationService interface { Count(context.Context, *Empty) (*NotificationCountResponse, error) Notifications(context.Context, *Empty) (*NotificationNotificationsResponse, error) Clean(context.Context, *NotificationCleanRequest) (*Empty, error) MarkRead(context.Context, *NotificationMarkReadRequest) (*Empty, error) }
func NewNotificationServiceJSONClient ¶
func NewNotificationServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) NotificationService
NewNotificationServiceJSONClient creates a JSON client that implements the NotificationService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewNotificationServiceProtobufClient ¶
func NewNotificationServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) NotificationService
NewNotificationServiceProtobufClient creates a Protobuf client that implements the NotificationService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type TokenAuthResponse ¶
type TokenAuthResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*TokenAuthResponse) Descriptor
deprecated
func (*TokenAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenAuthResponse.ProtoReflect.Descriptor instead.
func (*TokenAuthResponse) GetToken ¶
func (x *TokenAuthResponse) GetToken() string
func (*TokenAuthResponse) ProtoMessage ¶
func (*TokenAuthResponse) ProtoMessage()
func (*TokenAuthResponse) ProtoReflect ¶
func (x *TokenAuthResponse) ProtoReflect() protoreflect.Message
func (*TokenAuthResponse) Reset ¶
func (x *TokenAuthResponse) Reset()
func (*TokenAuthResponse) String ¶
func (x *TokenAuthResponse) String() string
type TokenGetMessagesResponse ¶
type TokenGetMessagesResponse struct { Tokens map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TokenGetMessagesResponse) Descriptor
deprecated
func (*TokenGetMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenGetMessagesResponse.ProtoReflect.Descriptor instead.
func (*TokenGetMessagesResponse) GetTokens ¶
func (x *TokenGetMessagesResponse) GetTokens() map[string]string
func (*TokenGetMessagesResponse) ProtoMessage ¶
func (*TokenGetMessagesResponse) ProtoMessage()
func (*TokenGetMessagesResponse) ProtoReflect ¶
func (x *TokenGetMessagesResponse) ProtoReflect() protoreflect.Message
func (*TokenGetMessagesResponse) Reset ¶
func (x *TokenGetMessagesResponse) Reset()
func (*TokenGetMessagesResponse) String ¶
func (x *TokenGetMessagesResponse) String() string
type TokenGetPublicMessagesRequest ¶
type TokenGetPublicMessagesRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*TokenGetPublicMessagesRequest) Descriptor
deprecated
func (*TokenGetPublicMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenGetPublicMessagesRequest.ProtoReflect.Descriptor instead.
func (*TokenGetPublicMessagesRequest) GetUserId ¶
func (x *TokenGetPublicMessagesRequest) GetUserId() string
func (*TokenGetPublicMessagesRequest) ProtoMessage ¶
func (*TokenGetPublicMessagesRequest) ProtoMessage()
func (*TokenGetPublicMessagesRequest) ProtoReflect ¶
func (x *TokenGetPublicMessagesRequest) ProtoReflect() protoreflect.Message
func (*TokenGetPublicMessagesRequest) Reset ¶
func (x *TokenGetPublicMessagesRequest) Reset()
func (*TokenGetPublicMessagesRequest) String ¶
func (x *TokenGetPublicMessagesRequest) String() string
type TokenGetPublicMessagesResponse ¶
type TokenGetPublicMessagesResponse struct { Tokens map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TokenGetPublicMessagesResponse) Descriptor
deprecated
func (*TokenGetPublicMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenGetPublicMessagesResponse.ProtoReflect.Descriptor instead.
func (*TokenGetPublicMessagesResponse) GetTokens ¶
func (x *TokenGetPublicMessagesResponse) GetTokens() map[string]string
func (*TokenGetPublicMessagesResponse) ProtoMessage ¶
func (*TokenGetPublicMessagesResponse) ProtoMessage()
func (*TokenGetPublicMessagesResponse) ProtoReflect ¶
func (x *TokenGetPublicMessagesResponse) ProtoReflect() protoreflect.Message
func (*TokenGetPublicMessagesResponse) Reset ¶
func (x *TokenGetPublicMessagesResponse) Reset()
func (*TokenGetPublicMessagesResponse) String ¶
func (x *TokenGetPublicMessagesResponse) String() string
type TokenPostMessageRequest ¶
type TokenPostMessageRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` FriendId string `protobuf:"bytes,2,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // contains filtered or unexported fields }
func (*TokenPostMessageRequest) Descriptor
deprecated
func (*TokenPostMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenPostMessageRequest.ProtoReflect.Descriptor instead.
func (*TokenPostMessageRequest) GetFriendId ¶
func (x *TokenPostMessageRequest) GetFriendId() string
func (*TokenPostMessageRequest) GetGroupId ¶
func (x *TokenPostMessageRequest) GetGroupId() string
func (*TokenPostMessageRequest) ProtoMessage ¶
func (*TokenPostMessageRequest) ProtoMessage()
func (*TokenPostMessageRequest) ProtoReflect ¶
func (x *TokenPostMessageRequest) ProtoReflect() protoreflect.Message
func (*TokenPostMessageRequest) Reset ¶
func (x *TokenPostMessageRequest) Reset()
func (*TokenPostMessageRequest) String ¶
func (x *TokenPostMessageRequest) String() string
type TokenPostMessageResponse ¶
type TokenPostMessageResponse struct { Tokens map[string]string `` /* 153-byte string literal not displayed */ MessageKey string `protobuf:"bytes,2,opt,name=message_key,json=messageKey,proto3" json:"message_key,omitempty"` // contains filtered or unexported fields }
func (*TokenPostMessageResponse) Descriptor
deprecated
func (*TokenPostMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenPostMessageResponse.ProtoReflect.Descriptor instead.
func (*TokenPostMessageResponse) GetMessageKey ¶
func (x *TokenPostMessageResponse) GetMessageKey() string
func (*TokenPostMessageResponse) GetTokens ¶
func (x *TokenPostMessageResponse) GetTokens() map[string]string
func (*TokenPostMessageResponse) ProtoMessage ¶
func (*TokenPostMessageResponse) ProtoMessage()
func (*TokenPostMessageResponse) ProtoReflect ¶
func (x *TokenPostMessageResponse) ProtoReflect() protoreflect.Message
func (*TokenPostMessageResponse) Reset ¶
func (x *TokenPostMessageResponse) Reset()
func (*TokenPostMessageResponse) String ¶
func (x *TokenPostMessageResponse) String() string
type TokenService ¶
type TokenService interface { Auth(context.Context, *Empty) (*TokenAuthResponse, error) PostMessage(context.Context, *TokenPostMessageRequest) (*TokenPostMessageResponse, error) GetMessages(context.Context, *Empty) (*TokenGetMessagesResponse, error) GetPublicMessages(context.Context, *TokenGetPublicMessagesRequest) (*TokenGetPublicMessagesResponse, error) }
func NewTokenServiceJSONClient ¶
func NewTokenServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) TokenService
NewTokenServiceJSONClient creates a JSON client that implements the TokenService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewTokenServiceProtobufClient ¶
func NewTokenServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) TokenService
NewTokenServiceProtobufClient creates a Protobuf client that implements the TokenService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type TwirpServer ¶
type TwirpServer interface { http.Handler // ServiceDescriptor returns gzipped bytes describing the .proto file that // this service was generated from. Once unzipped, the bytes can be // unmarshalled as a // google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto. // // The returned integer is the index of this particular service within that // FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a // low-level field, expected to be used for reflection. ServiceDescriptor() ([]byte, int) // ProtocGenTwirpVersion is the semantic version string of the version of // twirp used to generate this file. ProtocGenTwirpVersion() string // PathPrefix returns the HTTP URL path prefix for all methods handled by this // service. This can be used with an HTTP mux to route Twirp requests. // The path prefix is in the form: "/<prefix>/<package>.<Service>/" // that is, everything in a Twirp route except for the <Method> at the end. PathPrefix() string }
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.
func NewAuthServiceServer ¶
func NewAuthServiceServer(svc AuthService, opts ...interface{}) TwirpServer
NewAuthServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewBlobServiceServer ¶
func NewBlobServiceServer(svc BlobService, opts ...interface{}) TwirpServer
NewBlobServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewGroupServiceServer ¶
func NewGroupServiceServer(svc GroupService, opts ...interface{}) TwirpServer
NewGroupServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewInfoServiceServer ¶
func NewInfoServiceServer(svc InfoService, opts ...interface{}) TwirpServer
NewInfoServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewInviteServiceServer ¶
func NewInviteServiceServer(svc InviteService, opts ...interface{}) TwirpServer
NewInviteServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewMessageHubInternalServiceServer ¶
func NewMessageHubInternalServiceServer(svc MessageHubInternalService, opts ...interface{}) TwirpServer
NewMessageHubInternalServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewMessageHubServiceServer ¶
func NewMessageHubServiceServer(svc MessageHubService, opts ...interface{}) TwirpServer
NewMessageHubServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewNotificationServiceServer ¶
func NewNotificationServiceServer(svc NotificationService, opts ...interface{}) TwirpServer
NewNotificationServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewTokenServiceServer ¶
func NewTokenServiceServer(svc TokenService, opts ...interface{}) TwirpServer
NewTokenServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewUserServiceServer ¶
func NewUserServiceServer(svc UserService, opts ...interface{}) TwirpServer
NewUserServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` FullName string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` IsConfirmed bool `protobuf:"varint,5,opt,name=is_confirmed,json=isConfirmed,proto3" json:"is_confirmed,omitempty"` HideIdentity bool `protobuf:"varint,6,opt,name=hide_identity,json=hideIdentity,proto3" json:"hide_identity,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetFullName ¶
func (*User) GetHideIdentity ¶
func (*User) GetIsConfirmed ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserBlockUserRequest ¶
type UserBlockUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserBlockUserRequest) Descriptor
deprecated
func (*UserBlockUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserBlockUserRequest.ProtoReflect.Descriptor instead.
func (*UserBlockUserRequest) GetUserId ¶
func (x *UserBlockUserRequest) GetUserId() string
func (*UserBlockUserRequest) ProtoMessage ¶
func (*UserBlockUserRequest) ProtoMessage()
func (*UserBlockUserRequest) ProtoReflect ¶
func (x *UserBlockUserRequest) ProtoReflect() protoreflect.Message
func (*UserBlockUserRequest) Reset ¶
func (x *UserBlockUserRequest) Reset()
func (*UserBlockUserRequest) String ¶
func (x *UserBlockUserRequest) String() string
type UserEditProfileRequest ¶
type UserEditProfileRequest struct { EmailChanged bool `protobuf:"varint,1,opt,name=email_changed,json=emailChanged,proto3" json:"email_changed,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` AvatarChanged bool `protobuf:"varint,3,opt,name=avatar_changed,json=avatarChanged,proto3" json:"avatar_changed,omitempty"` AvatarId string `protobuf:"bytes,4,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` PasswordChanged bool `protobuf:"varint,5,opt,name=password_changed,json=passwordChanged,proto3" json:"password_changed,omitempty"` CurrentPassword string `protobuf:"bytes,6,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` NewPassword string `protobuf:"bytes,7,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` FullNameChanged bool `protobuf:"varint,8,opt,name=full_name_changed,json=fullNameChanged,proto3" json:"full_name_changed,omitempty"` FullName string `protobuf:"bytes,9,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` BackgroundChanged bool `protobuf:"varint,10,opt,name=background_changed,json=backgroundChanged,proto3" json:"background_changed,omitempty"` BackgroundId string `protobuf:"bytes,11,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"` HideIdentityChanged bool `protobuf:"varint,12,opt,name=hide_identity_changed,json=hideIdentityChanged,proto3" json:"hide_identity_changed,omitempty"` HideIdentity bool `protobuf:"varint,13,opt,name=hide_identity,json=hideIdentity,proto3" json:"hide_identity,omitempty"` // contains filtered or unexported fields }
func (*UserEditProfileRequest) Descriptor
deprecated
func (*UserEditProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserEditProfileRequest.ProtoReflect.Descriptor instead.
func (*UserEditProfileRequest) GetAvatarChanged ¶
func (x *UserEditProfileRequest) GetAvatarChanged() bool
func (*UserEditProfileRequest) GetAvatarId ¶
func (x *UserEditProfileRequest) GetAvatarId() string
func (*UserEditProfileRequest) GetBackgroundChanged ¶
func (x *UserEditProfileRequest) GetBackgroundChanged() bool
func (*UserEditProfileRequest) GetBackgroundId ¶
func (x *UserEditProfileRequest) GetBackgroundId() string
func (*UserEditProfileRequest) GetCurrentPassword ¶
func (x *UserEditProfileRequest) GetCurrentPassword() string
func (*UserEditProfileRequest) GetEmail ¶
func (x *UserEditProfileRequest) GetEmail() string
func (*UserEditProfileRequest) GetEmailChanged ¶
func (x *UserEditProfileRequest) GetEmailChanged() bool
func (*UserEditProfileRequest) GetFullName ¶
func (x *UserEditProfileRequest) GetFullName() string
func (*UserEditProfileRequest) GetFullNameChanged ¶
func (x *UserEditProfileRequest) GetFullNameChanged() bool
func (*UserEditProfileRequest) GetHideIdentity ¶
func (x *UserEditProfileRequest) GetHideIdentity() bool
func (*UserEditProfileRequest) GetHideIdentityChanged ¶
func (x *UserEditProfileRequest) GetHideIdentityChanged() bool
func (*UserEditProfileRequest) GetNewPassword ¶
func (x *UserEditProfileRequest) GetNewPassword() string
func (*UserEditProfileRequest) GetPasswordChanged ¶
func (x *UserEditProfileRequest) GetPasswordChanged() bool
func (*UserEditProfileRequest) ProtoMessage ¶
func (*UserEditProfileRequest) ProtoMessage()
func (*UserEditProfileRequest) ProtoReflect ¶
func (x *UserEditProfileRequest) ProtoReflect() protoreflect.Message
func (*UserEditProfileRequest) Reset ¶
func (x *UserEditProfileRequest) Reset()
func (*UserEditProfileRequest) String ¶
func (x *UserEditProfileRequest) String() string
type UserFriendsFriend ¶
type UserFriendsFriend struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Friends []*UserFriendsFriendOfFriend `protobuf:"bytes,2,rep,name=friends,proto3" json:"friends,omitempty"` GroupCount int32 `protobuf:"varint,3,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"` // contains filtered or unexported fields }
func (*UserFriendsFriend) Descriptor
deprecated
func (*UserFriendsFriend) Descriptor() ([]byte, []int)
Deprecated: Use UserFriendsFriend.ProtoReflect.Descriptor instead.
func (*UserFriendsFriend) GetFriends ¶
func (x *UserFriendsFriend) GetFriends() []*UserFriendsFriendOfFriend
func (*UserFriendsFriend) GetGroupCount ¶
func (x *UserFriendsFriend) GetGroupCount() int32
func (*UserFriendsFriend) GetUser ¶
func (x *UserFriendsFriend) GetUser() *User
func (*UserFriendsFriend) ProtoMessage ¶
func (*UserFriendsFriend) ProtoMessage()
func (*UserFriendsFriend) ProtoReflect ¶
func (x *UserFriendsFriend) ProtoReflect() protoreflect.Message
func (*UserFriendsFriend) Reset ¶
func (x *UserFriendsFriend) Reset()
func (*UserFriendsFriend) String ¶
func (x *UserFriendsFriend) String() string
type UserFriendsFriendOfFriend ¶
type UserFriendsFriendOfFriend struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` InviteStatus string `protobuf:"bytes,2,opt,name=invite_status,json=inviteStatus,proto3" json:"invite_status,omitempty"` // contains filtered or unexported fields }
func (*UserFriendsFriendOfFriend) Descriptor
deprecated
func (*UserFriendsFriendOfFriend) Descriptor() ([]byte, []int)
Deprecated: Use UserFriendsFriendOfFriend.ProtoReflect.Descriptor instead.
func (*UserFriendsFriendOfFriend) GetInviteStatus ¶
func (x *UserFriendsFriendOfFriend) GetInviteStatus() string
func (*UserFriendsFriendOfFriend) GetUser ¶
func (x *UserFriendsFriendOfFriend) GetUser() *User
func (*UserFriendsFriendOfFriend) ProtoMessage ¶
func (*UserFriendsFriendOfFriend) ProtoMessage()
func (*UserFriendsFriendOfFriend) ProtoReflect ¶
func (x *UserFriendsFriendOfFriend) ProtoReflect() protoreflect.Message
func (*UserFriendsFriendOfFriend) Reset ¶
func (x *UserFriendsFriendOfFriend) Reset()
func (*UserFriendsFriendOfFriend) String ¶
func (x *UserFriendsFriendOfFriend) String() string
type UserFriendsOfFriendsResponse ¶
type UserFriendsOfFriendsResponse struct { Friends []*UserFriendsOfFriendsResponseFriend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"` // contains filtered or unexported fields }
func (*UserFriendsOfFriendsResponse) Descriptor
deprecated
func (*UserFriendsOfFriendsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserFriendsOfFriendsResponse.ProtoReflect.Descriptor instead.
func (*UserFriendsOfFriendsResponse) GetFriends ¶
func (x *UserFriendsOfFriendsResponse) GetFriends() []*UserFriendsOfFriendsResponseFriend
func (*UserFriendsOfFriendsResponse) ProtoMessage ¶
func (*UserFriendsOfFriendsResponse) ProtoMessage()
func (*UserFriendsOfFriendsResponse) ProtoReflect ¶
func (x *UserFriendsOfFriendsResponse) ProtoReflect() protoreflect.Message
func (*UserFriendsOfFriendsResponse) Reset ¶
func (x *UserFriendsOfFriendsResponse) Reset()
func (*UserFriendsOfFriendsResponse) String ¶
func (x *UserFriendsOfFriendsResponse) String() string
type UserFriendsOfFriendsResponseFriend ¶
type UserFriendsOfFriendsResponseFriend struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` InviteStatus string `protobuf:"bytes,2,opt,name=invite_status,json=inviteStatus,proto3" json:"invite_status,omitempty"` Friends []*User `protobuf:"bytes,3,rep,name=friends,proto3" json:"friends,omitempty"` // contains filtered or unexported fields }
func (*UserFriendsOfFriendsResponseFriend) Descriptor
deprecated
func (*UserFriendsOfFriendsResponseFriend) Descriptor() ([]byte, []int)
Deprecated: Use UserFriendsOfFriendsResponseFriend.ProtoReflect.Descriptor instead.
func (*UserFriendsOfFriendsResponseFriend) GetFriends ¶
func (x *UserFriendsOfFriendsResponseFriend) GetFriends() []*User
func (*UserFriendsOfFriendsResponseFriend) GetInviteStatus ¶
func (x *UserFriendsOfFriendsResponseFriend) GetInviteStatus() string
func (*UserFriendsOfFriendsResponseFriend) GetUser ¶
func (x *UserFriendsOfFriendsResponseFriend) GetUser() *User
func (*UserFriendsOfFriendsResponseFriend) ProtoMessage ¶
func (*UserFriendsOfFriendsResponseFriend) ProtoMessage()
func (*UserFriendsOfFriendsResponseFriend) ProtoReflect ¶
func (x *UserFriendsOfFriendsResponseFriend) ProtoReflect() protoreflect.Message
func (*UserFriendsOfFriendsResponseFriend) Reset ¶
func (x *UserFriendsOfFriendsResponseFriend) Reset()
func (*UserFriendsOfFriendsResponseFriend) String ¶
func (x *UserFriendsOfFriendsResponseFriend) String() string
type UserFriendsResponse ¶
type UserFriendsResponse struct { Friends []*UserFriendsFriend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"` // contains filtered or unexported fields }
func (*UserFriendsResponse) Descriptor
deprecated
func (*UserFriendsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserFriendsResponse.ProtoReflect.Descriptor instead.
func (*UserFriendsResponse) GetFriends ¶
func (x *UserFriendsResponse) GetFriends() []*UserFriendsFriend
func (*UserFriendsResponse) ProtoMessage ¶
func (*UserFriendsResponse) ProtoMessage()
func (*UserFriendsResponse) ProtoReflect ¶
func (x *UserFriendsResponse) ProtoReflect() protoreflect.Message
func (*UserFriendsResponse) Reset ¶
func (x *UserFriendsResponse) Reset()
func (*UserFriendsResponse) String ¶
func (x *UserFriendsResponse) String() string
type UserMeResponse ¶
type UserMeResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` IsAdmin bool `protobuf:"varint,2,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` OwnedHubs []string `protobuf:"bytes,3,rep,name=owned_hubs,json=ownedHubs,proto3" json:"owned_hubs,omitempty"` Groups []*Group `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*UserMeResponse) Descriptor
deprecated
func (*UserMeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserMeResponse.ProtoReflect.Descriptor instead.
func (*UserMeResponse) GetGroups ¶
func (x *UserMeResponse) GetGroups() []*Group
func (*UserMeResponse) GetIsAdmin ¶
func (x *UserMeResponse) GetIsAdmin() bool
func (*UserMeResponse) GetOwnedHubs ¶
func (x *UserMeResponse) GetOwnedHubs() []string
func (*UserMeResponse) GetUser ¶
func (x *UserMeResponse) GetUser() *User
func (*UserMeResponse) ProtoMessage ¶
func (*UserMeResponse) ProtoMessage()
func (*UserMeResponse) ProtoReflect ¶
func (x *UserMeResponse) ProtoReflect() protoreflect.Message
func (*UserMeResponse) Reset ¶
func (x *UserMeResponse) Reset()
func (*UserMeResponse) String ¶
func (x *UserMeResponse) String() string
type UserRegisterFCMTokenRequest ¶
type UserRegisterFCMTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"` // contains filtered or unexported fields }
func (*UserRegisterFCMTokenRequest) Descriptor
deprecated
func (*UserRegisterFCMTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRegisterFCMTokenRequest.ProtoReflect.Descriptor instead.
func (*UserRegisterFCMTokenRequest) GetDeviceId ¶
func (x *UserRegisterFCMTokenRequest) GetDeviceId() string
func (*UserRegisterFCMTokenRequest) GetOs ¶
func (x *UserRegisterFCMTokenRequest) GetOs() string
func (*UserRegisterFCMTokenRequest) GetToken ¶
func (x *UserRegisterFCMTokenRequest) GetToken() string
func (*UserRegisterFCMTokenRequest) ProtoMessage ¶
func (*UserRegisterFCMTokenRequest) ProtoMessage()
func (*UserRegisterFCMTokenRequest) ProtoReflect ¶
func (x *UserRegisterFCMTokenRequest) ProtoReflect() protoreflect.Message
func (*UserRegisterFCMTokenRequest) Reset ¶
func (x *UserRegisterFCMTokenRequest) Reset()
func (*UserRegisterFCMTokenRequest) String ¶
func (x *UserRegisterFCMTokenRequest) String() string
type UserService ¶
type UserService interface { Friends(context.Context, *Empty) (*UserFriendsResponse, error) FriendsOfFriends(context.Context, *Empty) (*UserFriendsOfFriendsResponse, error) Me(context.Context, *Empty) (*UserMeResponse, error) EditProfile(context.Context, *UserEditProfileRequest) (*Empty, error) Users(context.Context, *UserUsersRequest) (*UserUsersResponse, error) User(context.Context, *UserUserRequest) (*UserUserResponse, error) RegisterFCMToken(context.Context, *UserRegisterFCMTokenRequest) (*Empty, error) BlockUser(context.Context, *UserBlockUserRequest) (*Empty, error) DeleteMe(context.Context, *Empty) (*Empty, error) }
func NewUserServiceJSONClient ¶
func NewUserServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) UserService
NewUserServiceJSONClient creates a JSON client that implements the UserService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewUserServiceProtobufClient ¶
func NewUserServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) UserService
NewUserServiceProtobufClient creates a Protobuf client that implements the UserService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type UserUserRequest ¶
type UserUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserUserRequest) Descriptor
deprecated
func (*UserUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUserRequest.ProtoReflect.Descriptor instead.
func (*UserUserRequest) GetUserId ¶
func (x *UserUserRequest) GetUserId() string
func (*UserUserRequest) ProtoMessage ¶
func (*UserUserRequest) ProtoMessage()
func (*UserUserRequest) ProtoReflect ¶
func (x *UserUserRequest) ProtoReflect() protoreflect.Message
func (*UserUserRequest) Reset ¶
func (x *UserUserRequest) Reset()
func (*UserUserRequest) String ¶
func (x *UserUserRequest) String() string
type UserUserResponse ¶
type UserUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` InviteStatus string `protobuf:"bytes,2,opt,name=invite_status,json=inviteStatus,proto3" json:"invite_status,omitempty"` // contains filtered or unexported fields }
func (*UserUserResponse) Descriptor
deprecated
func (*UserUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserUserResponse.ProtoReflect.Descriptor instead.
func (*UserUserResponse) GetInviteStatus ¶
func (x *UserUserResponse) GetInviteStatus() string
func (*UserUserResponse) GetUser ¶
func (x *UserUserResponse) GetUser() *User
func (*UserUserResponse) ProtoMessage ¶
func (*UserUserResponse) ProtoMessage()
func (*UserUserResponse) ProtoReflect ¶
func (x *UserUserResponse) ProtoReflect() protoreflect.Message
func (*UserUserResponse) Reset ¶
func (x *UserUserResponse) Reset()
func (*UserUserResponse) String ¶
func (x *UserUserResponse) String() string
type UserUsersRequest ¶
type UserUsersRequest struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
func (*UserUsersRequest) Descriptor
deprecated
func (*UserUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUsersRequest.ProtoReflect.Descriptor instead.
func (*UserUsersRequest) GetUserIds ¶
func (x *UserUsersRequest) GetUserIds() []string
func (*UserUsersRequest) ProtoMessage ¶
func (*UserUsersRequest) ProtoMessage()
func (*UserUsersRequest) ProtoReflect ¶
func (x *UserUsersRequest) ProtoReflect() protoreflect.Message
func (*UserUsersRequest) Reset ¶
func (x *UserUsersRequest) Reset()
func (*UserUsersRequest) String ¶
func (x *UserUsersRequest) String() string
type UserUsersResponse ¶
type UserUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` InviteStatuses []string `protobuf:"bytes,2,rep,name=invite_statuses,json=inviteStatuses,proto3" json:"invite_statuses,omitempty"` // contains filtered or unexported fields }
func (*UserUsersResponse) Descriptor
deprecated
func (*UserUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserUsersResponse.ProtoReflect.Descriptor instead.
func (*UserUsersResponse) GetInviteStatuses ¶
func (x *UserUsersResponse) GetInviteStatuses() []string
func (*UserUsersResponse) GetUsers ¶
func (x *UserUsersResponse) GetUsers() []*User
func (*UserUsersResponse) ProtoMessage ¶
func (*UserUsersResponse) ProtoMessage()
func (*UserUsersResponse) ProtoReflect ¶
func (x *UserUsersResponse) ProtoReflect() protoreflect.Message
func (*UserUsersResponse) Reset ¶
func (x *UserUsersResponse) Reset()
func (*UserUsersResponse) String ¶
func (x *UserUsersResponse) String() string
Source Files ¶
- auth.pb.go
- auth.twirp.go
- blob.pb.go
- blob.twirp.go
- group.pb.go
- group.twirp.go
- info.pb.go
- info.twirp.go
- invite.pb.go
- invite.twirp.go
- messagehub.pb.go
- messagehub.twirp.go
- messagehub_internal.pb.go
- messagehub_internal.twirp.go
- model.pb.go
- notification.pb.go
- notification.twirp.go
- token.pb.go
- token.twirp.go
- user.pb.go
- user.twirp.go