Documentation ¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterMessagesServiceServer(s grpc.ServiceRegistrar, srv MessagesServiceServer)
- func RegisterTheaterServiceServer(s grpc.ServiceRegistrar, srv TheaterServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type Activity
- type AddSubtitlesRequest
- func (*AddSubtitlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSubtitlesRequest) GetAuthRequest() *AuthenticateRequest
- func (x *AddSubtitlesRequest) GetMediaSourceId() string
- func (x *AddSubtitlesRequest) GetSubtitles() []*Subtitle
- func (*AddSubtitlesRequest) ProtoMessage()
- func (x *AddSubtitlesRequest) ProtoReflect() protoreflect.Message
- func (x *AddSubtitlesRequest) Reset()
- func (x *AddSubtitlesRequest) String() string
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetCreatedAt() *timestamppb.Timestamp
- func (x *Attachment) GetId() string
- func (x *Attachment) GetName() string
- func (x *Attachment) GetType() string
- func (x *Attachment) GetUrl() string
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- type AttachmentResponse
- func (*AttachmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachmentResponse) GetCode() int64
- func (x *AttachmentResponse) GetMessage() string
- func (x *AttachmentResponse) GetResult() *Attachment
- func (x *AttachmentResponse) GetStatus() string
- func (*AttachmentResponse) ProtoMessage()
- func (x *AttachmentResponse) ProtoReflect() protoreflect.Message
- func (x *AttachmentResponse) Reset()
- func (x *AttachmentResponse) String() string
- type AuthRequest
- type AuthResponse
- func (*AuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthResponse) GetCode() int64
- func (x *AuthResponse) GetMessage() string
- func (x *AuthResponse) GetRefreshedToken() []byte
- func (x *AuthResponse) GetStatus() string
- func (x *AuthResponse) GetToken() []byte
- func (x *AuthResponse) GetType() string
- func (x *AuthResponse) GetValidationError() []*ValidationError
- func (*AuthResponse) ProtoMessage()
- func (x *AuthResponse) ProtoReflect() protoreflect.Message
- func (x *AuthResponse) Reset()
- func (x *AuthResponse) String() string
- type AuthServiceClient
- type AuthServiceServer
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetToken() []byte
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type CMsgProtoBufHeader
- func (*CMsgProtoBufHeader) Descriptor() ([]byte, []int)deprecated
- func (x *CMsgProtoBufHeader) GetAuthToken() []byte
- func (x *CMsgProtoBufHeader) GetIpAddr() []byte
- func (x *CMsgProtoBufHeader) GetSessionClientId() int32
- func (x *CMsgProtoBufHeader) GetUserHash() []byte
- func (*CMsgProtoBufHeader) ProtoMessage()
- func (x *CMsgProtoBufHeader) ProtoReflect() protoreflect.Message
- func (x *CMsgProtoBufHeader) Reset()
- func (x *CMsgProtoBufHeader) String() string
- type ChatMsgDeletedEvent
- func (*ChatMsgDeletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMsgDeletedEvent) GetDeletedAt() *timestamppb.Timestamp
- func (x *ChatMsgDeletedEvent) GetMessageId() string
- func (*ChatMsgDeletedEvent) ProtoMessage()
- func (x *ChatMsgDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *ChatMsgDeletedEvent) Reset()
- func (x *ChatMsgDeletedEvent) String() string
- type ChatMsgEvent
- func (*ChatMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMsgEvent) GetAttachments() []string
- func (x *ChatMsgEvent) GetCreatedAt() *timestamppb.Timestamp
- func (x *ChatMsgEvent) GetEmojies() []uint64
- func (x *ChatMsgEvent) GetMentions() []uint64
- func (x *ChatMsgEvent) GetMessage() []byte
- func (x *ChatMsgEvent) GetReceiver() *User
- func (x *ChatMsgEvent) GetSender() *User
- func (*ChatMsgEvent) ProtoMessage()
- func (x *ChatMsgEvent) ProtoReflect() protoreflect.Message
- func (x *ChatMsgEvent) Reset()
- func (x *ChatMsgEvent) String() string
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetAccessToken() string
- func (x *Connection) GetCreatedAt() *timestamppb.Timestamp
- func (x *Connection) GetId() string
- func (x *Connection) GetName() string
- func (x *Connection) GetRefreshedToken() string
- func (x *Connection) GetServiceUserId() string
- func (x *Connection) GetShowActivity() bool
- func (x *Connection) GetType() Connection_Type
- func (x *Connection) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Connection) GetUserId() string
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type ConnectionRequest
- func (*ConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionRequest) GetAuthRequest() *AuthenticateRequest
- func (x *ConnectionRequest) GetConnection() *Connection
- func (*ConnectionRequest) ProtoMessage()
- func (x *ConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectionRequest) Reset()
- func (x *ConnectionRequest) String() string
- type Connection_Type
- func (Connection_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Connection_Type) Enum() *Connection_Type
- func (Connection_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Connection_Type) Number() protoreflect.EnumNumber
- func (x Connection_Type) String() string
- func (Connection_Type) Type() protoreflect.EnumType
- type ConnectionsResponse
- func (*ConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionsResponse) GetCode() int64
- func (x *ConnectionsResponse) GetMessage() string
- func (x *ConnectionsResponse) GetResult() []*Connection
- func (x *ConnectionsResponse) GetStatus() string
- func (*ConnectionsResponse) ProtoMessage()
- func (x *ConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectionsResponse) Reset()
- func (x *ConnectionsResponse) String() string
- type CreateAttachmentRequest
- func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttachmentRequest) GetAttachment() *Attachment
- func (x *CreateAttachmentRequest) GetAuthRequest() *AuthenticateRequest
- func (*CreateAttachmentRequest) ProtoMessage()
- func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttachmentRequest) Reset()
- func (x *CreateAttachmentRequest) String() string
- type CreateNotificationRequest
- func (*CreateNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotificationRequest) GetAuthRequest() *AuthenticateRequest
- func (x *CreateNotificationRequest) GetNotification() *Notification
- func (*CreateNotificationRequest) ProtoMessage()
- func (x *CreateNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotificationRequest) Reset()
- func (x *CreateNotificationRequest) String() string
- type CreateUserDevice
- func (*CreateUserDevice) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserDevice) GetAuthRequest() *AuthenticateRequest
- func (x *CreateUserDevice) GetDevice() *Device
- func (*CreateUserDevice) ProtoMessage()
- func (x *CreateUserDevice) ProtoReflect() protoreflect.Message
- func (x *CreateUserDevice) Reset()
- func (x *CreateUserDevice) String() string
- type CreateUserRequest
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetBrowser() string
- func (x *Device) GetCountry() string
- func (x *Device) GetCreatedAt() *timestamppb.Timestamp
- func (x *Device) GetId() string
- func (x *Device) GetIpAddress() string
- func (x *Device) GetManifacture() string
- func (x *Device) GetPlatform() Device_Platform
- func (x *Device) GetUserAgent() string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type Device_Platform
- func (Device_Platform) Descriptor() protoreflect.EnumDescriptor
- func (x Device_Platform) Enum() *Device_Platform
- func (Device_Platform) EnumDescriptor() ([]byte, []int)deprecated
- func (x Device_Platform) Number() protoreflect.EnumNumber
- func (x Device_Platform) String() string
- func (Device_Platform) Type() protoreflect.EnumType
- type EMSG
- type Emote
- func (*Emote) Descriptor() ([]byte, []int)deprecated
- func (x *Emote) GetContent() string
- func (x *Emote) GetCreatedAt() *timestamppb.Timestamp
- func (x *Emote) GetId() string
- func (x *Emote) GetName() string
- func (*Emote) ProtoMessage()
- func (x *Emote) ProtoReflect() protoreflect.Message
- func (x *Emote) Reset()
- func (x *Emote) String() string
- type Follow
- func (*Follow) Descriptor() ([]byte, []int)deprecated
- func (x *Follow) GetCreatedAt() *timestamppb.Timestamp
- func (x *Follow) GetEmailNotification() bool
- func (x *Follow) GetId() string
- func (x *Follow) GetMuted() bool
- func (x *Follow) GetPushNotification() bool
- func (x *Follow) GetTheater() *Theater
- func (x *Follow) GetTheaterId() string
- func (x *Follow) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Follow) GetUser() *User
- func (x *Follow) GetUserId() string
- func (*Follow) ProtoMessage()
- func (x *Follow) ProtoReflect() protoreflect.Message
- func (x *Follow) Reset()
- func (x *Follow) String() string
- type FollowedTheatersResponse
- func (*FollowedTheatersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FollowedTheatersResponse) GetCode() int64
- func (x *FollowedTheatersResponse) GetMessage() string
- func (x *FollowedTheatersResponse) GetResult() []*Theater
- func (x *FollowedTheatersResponse) GetStatus() string
- func (*FollowedTheatersResponse) ProtoMessage()
- func (x *FollowedTheatersResponse) ProtoReflect() protoreflect.Message
- func (x *FollowedTheatersResponse) Reset()
- func (x *FollowedTheatersResponse) String() string
- type Friend
- func (*Friend) Descriptor() ([]byte, []int)deprecated
- func (x *Friend) GetAccepted() bool
- func (x *Friend) GetCreatedAt() *timestamppb.Timestamp
- func (x *Friend) GetFriendId() string
- func (x *Friend) GetId() string
- func (x *Friend) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Friend) GetUserId() string
- func (*Friend) ProtoMessage()
- func (x *Friend) ProtoReflect() protoreflect.Message
- func (x *Friend) Reset()
- func (x *Friend) String() string
- type FriendRequest
- func (*FriendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FriendRequest) GetAuthRequest() *AuthenticateRequest
- func (x *FriendRequest) GetFriend() *User
- func (x *FriendRequest) GetFriendId() string
- func (x *FriendRequest) GetRequestId() string
- func (*FriendRequest) ProtoMessage()
- func (x *FriendRequest) ProtoReflect() protoreflect.Message
- func (x *FriendRequest) Reset()
- func (x *FriendRequest) String() string
- type FriendRequestAcceptedMsgEvent
- func (*FriendRequestAcceptedMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FriendRequestAcceptedMsgEvent) GetFriend() *User
- func (*FriendRequestAcceptedMsgEvent) ProtoMessage()
- func (x *FriendRequestAcceptedMsgEvent) ProtoReflect() protoreflect.Message
- func (x *FriendRequestAcceptedMsgEvent) Reset()
- func (x *FriendRequestAcceptedMsgEvent) String() string
- type FriendResponse
- func (*FriendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FriendResponse) GetCode() int64
- func (x *FriendResponse) GetMessage() string
- func (x *FriendResponse) GetResult() *User
- func (x *FriendResponse) GetStatus() string
- func (*FriendResponse) ProtoMessage()
- func (x *FriendResponse) ProtoReflect() protoreflect.Message
- func (x *FriendResponse) Reset()
- func (x *FriendResponse) String() string
- type FriendsResponse
- func (*FriendsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FriendsResponse) GetCode() int64
- func (x *FriendsResponse) GetMessage() string
- func (x *FriendsResponse) GetResult() []*User
- func (x *FriendsResponse) GetStatus() string
- func (*FriendsResponse) ProtoMessage()
- func (x *FriendsResponse) ProtoReflect() protoreflect.Message
- func (x *FriendsResponse) Reset()
- func (x *FriendsResponse) String() string
- type GetFriendRequest
- type GetMessagesRequest
- func (*GetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesRequest) GetAuthRequest() *AuthenticateRequest
- func (x *GetMessagesRequest) GetReceiverId() string
- func (*GetMessagesRequest) ProtoMessage()
- func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesRequest) Reset()
- func (x *GetMessagesRequest) String() string
- type GetMessagesResponse
- func (*GetMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesResponse) GetCode() int64
- func (x *GetMessagesResponse) GetMessage() string
- func (x *GetMessagesResponse) GetResult() []*Message
- func (x *GetMessagesResponse) GetStatus() string
- func (*GetMessagesResponse) ProtoMessage()
- func (x *GetMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessagesResponse) Reset()
- func (x *GetMessagesResponse) String() string
- type GetTheaterRequest
- func (*GetTheaterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTheaterRequest) GetAuthRequest() *AuthenticateRequest
- func (x *GetTheaterRequest) GetTheaterId() string
- func (x *GetTheaterRequest) GetUser() string
- func (*GetTheaterRequest) ProtoMessage()
- func (x *GetTheaterRequest) ProtoReflect() protoreflect.Message
- func (x *GetTheaterRequest) Reset()
- func (x *GetTheaterRequest) String() string
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetCode() int64
- func (x *GetUserResponse) GetMessage() string
- func (x *GetUserResponse) GetResult() *User
- func (x *GetUserResponse) GetStatus() string
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type IceCandidate
- func (*IceCandidate) Descriptor() ([]byte, []int)deprecated
- func (x *IceCandidate) GetCandidate() string
- func (x *IceCandidate) GetSdpMLineIndex() uint64
- func (x *IceCandidate) GetSdpMid() string
- func (x *IceCandidate) GetUsernameFragment() string
- func (*IceCandidate) ProtoMessage()
- func (x *IceCandidate) ProtoReflect() protoreflect.Message
- func (x *IceCandidate) Reset()
- func (x *IceCandidate) String() string
- type InviteFriendsTheaterRequest
- func (*InviteFriendsTheaterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteFriendsTheaterRequest) GetAuthRequest() *AuthenticateRequest
- func (x *InviteFriendsTheaterRequest) GetFriendIds() []string
- func (x *InviteFriendsTheaterRequest) GetTheaterId() string
- func (*InviteFriendsTheaterRequest) ProtoMessage()
- func (x *InviteFriendsTheaterRequest) ProtoReflect() protoreflect.Message
- func (x *InviteFriendsTheaterRequest) Reset()
- func (x *InviteFriendsTheaterRequest) String() string
- type JoinTheaterMsgEvent
- func (*JoinTheaterMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *JoinTheaterMsgEvent) GetTheaterId() string
- func (*JoinTheaterMsgEvent) ProtoMessage()
- func (x *JoinTheaterMsgEvent) ProtoReflect() protoreflect.Message
- func (x *JoinTheaterMsgEvent) Reset()
- func (x *JoinTheaterMsgEvent) String() string
- type JoinVoiceChannel
- func (*JoinVoiceChannel) Descriptor() ([]byte, []int)deprecated
- func (x *JoinVoiceChannel) GetSdp() *SessionDescription
- func (x *JoinVoiceChannel) GetTheaterId() string
- func (*JoinVoiceChannel) ProtoMessage()
- func (x *JoinVoiceChannel) ProtoReflect() protoreflect.Message
- func (x *JoinVoiceChannel) Reset()
- func (x *JoinVoiceChannel) String() string
- type LeaveTheaterMsgEvent
- func (*LeaveTheaterMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveTheaterMsgEvent) GetTheaterId() string
- func (*LeaveTheaterMsgEvent) ProtoMessage()
- func (x *LeaveTheaterMsgEvent) ProtoReflect() protoreflect.Message
- func (x *LeaveTheaterMsgEvent) Reset()
- func (x *LeaveTheaterMsgEvent) String() string
- type LeaveVoiceChannel
- func (*LeaveVoiceChannel) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveVoiceChannel) GetVoiceConnectionId() string
- func (*LeaveVoiceChannel) ProtoMessage()
- func (x *LeaveVoiceChannel) ProtoReflect() protoreflect.Message
- func (x *LeaveVoiceChannel) Reset()
- func (x *LeaveVoiceChannel) String() string
- type LogOnEvent
- func (*LogOnEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LogOnEvent) GetPassword() []byte
- func (x *LogOnEvent) GetToken() []byte
- func (x *LogOnEvent) GetUsername() []byte
- func (*LogOnEvent) ProtoMessage()
- func (x *LogOnEvent) ProtoReflect() protoreflect.Message
- func (x *LogOnEvent) Reset()
- func (x *LogOnEvent) String() string
- type MediaSource
- func (*MediaSource) Descriptor() ([]byte, []int)deprecated
- func (x *MediaSource) GetArtist() string
- func (x *MediaSource) GetBanner() string
- func (x *MediaSource) GetCreatedAt() *timestamppb.Timestamp
- func (x *MediaSource) GetId() string
- func (x *MediaSource) GetLength() int64
- func (x *MediaSource) GetSubtitles() []*Subtitle
- func (x *MediaSource) GetTitle() string
- func (x *MediaSource) GetType() MediaSource_Type
- func (x *MediaSource) GetUpdatedAt() *timestamppb.Timestamp
- func (x *MediaSource) GetUri() string
- func (x *MediaSource) GetUserId() string
- func (*MediaSource) ProtoMessage()
- func (x *MediaSource) ProtoReflect() protoreflect.Message
- func (x *MediaSource) Reset()
- func (x *MediaSource) String() string
- type MediaSourceAuthRequest
- func (*MediaSourceAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MediaSourceAuthRequest) GetAuthRequest() *AuthenticateRequest
- func (x *MediaSourceAuthRequest) GetLimit() uint64
- func (x *MediaSourceAuthRequest) GetMedia() *MediaSource
- func (x *MediaSourceAuthRequest) GetPage() uint64
- func (x *MediaSourceAuthRequest) GetPerPage() uint64
- func (*MediaSourceAuthRequest) ProtoMessage()
- func (x *MediaSourceAuthRequest) ProtoReflect() protoreflect.Message
- func (x *MediaSourceAuthRequest) Reset()
- func (x *MediaSourceAuthRequest) String() string
- type MediaSourceChangedEvent
- func (*MediaSourceChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MediaSourceChangedEvent) GetMediaSourceId() string
- func (x *MediaSourceChangedEvent) GetTheaterId() string
- func (*MediaSourceChangedEvent) ProtoMessage()
- func (x *MediaSourceChangedEvent) ProtoReflect() protoreflect.Message
- func (x *MediaSourceChangedEvent) Reset()
- func (x *MediaSourceChangedEvent) String() string
- type MediaSourceRemoveRequest
- func (*MediaSourceRemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MediaSourceRemoveRequest) GetAuthRequest() *AuthenticateRequest
- func (x *MediaSourceRemoveRequest) GetMediaSourceId() string
- func (*MediaSourceRemoveRequest) ProtoMessage()
- func (x *MediaSourceRemoveRequest) ProtoReflect() protoreflect.Message
- func (x *MediaSourceRemoveRequest) Reset()
- func (x *MediaSourceRemoveRequest) String() string
- type MediaSource_Type
- func (MediaSource_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MediaSource_Type) Enum() *MediaSource_Type
- func (MediaSource_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MediaSource_Type) Number() protoreflect.EnumNumber
- func (x MediaSource_Type) String() string
- func (MediaSource_Type) Type() protoreflect.EnumType
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetAttachments() []*Attachment
- func (x *Message) GetContent() string
- func (x *Message) GetCreatedAt() *timestamppb.Timestamp
- func (x *Message) GetDeleted() bool
- func (x *Message) GetDeletedAt() *timestamppb.Timestamp
- func (x *Message) GetEdited() bool
- func (x *Message) GetEmotes() []*Emote
- func (x *Message) GetId() string
- func (x *Message) GetReceiver() *User
- func (x *Message) GetSender() *User
- func (x *Message) GetUpdatedAt() *timestamppb.Timestamp
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageRequest
- func (*MessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageRequest) GetAuthRequest() *AuthenticateRequest
- func (x *MessageRequest) GetMessage() *Message
- func (*MessageRequest) ProtoMessage()
- func (x *MessageRequest) ProtoReflect() protoreflect.Message
- func (x *MessageRequest) Reset()
- func (x *MessageRequest) String() string
- type MessageResponse
- func (*MessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageResponse) GetCode() int64
- func (x *MessageResponse) GetMessage() string
- func (x *MessageResponse) GetResult() *Message
- func (x *MessageResponse) GetStatus() string
- func (*MessageResponse) ProtoMessage()
- func (x *MessageResponse) ProtoReflect() protoreflect.Message
- func (x *MessageResponse) Reset()
- func (x *MessageResponse) String() string
- type MessagesServiceClient
- type MessagesServiceServer
- type MsgEvent
- func (*MsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MsgEvent) GetCreatedAt() *timestamppb.Timestamp
- func (x *MsgEvent) GetData() []byte
- func (x *MsgEvent) GetType() EMSG
- func (*MsgEvent) ProtoMessage()
- func (x *MsgEvent) ProtoReflect() protoreflect.Message
- func (x *MsgEvent) Reset()
- func (x *MsgEvent) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCreatedAt() *timestamppb.Timestamp
- func (x *Notification) GetData() string
- func (x *Notification) GetFromUser() *User
- func (x *Notification) GetFromUserId() string
- func (x *Notification) GetId() string
- func (x *Notification) GetRead() bool
- func (x *Notification) GetReadAt() *timestamppb.Timestamp
- func (x *Notification) GetToUser() *User
- func (x *Notification) GetToUserId() string
- func (x *Notification) GetType() Notification_NOTIFICATION_TYPE
- func (x *Notification) GetUpdatedAt() *timestamppb.Timestamp
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationMsgEvent
- func (*NotificationMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationMsgEvent) GetNotification() *Notification
- func (*NotificationMsgEvent) ProtoMessage()
- func (x *NotificationMsgEvent) ProtoReflect() protoreflect.Message
- func (x *NotificationMsgEvent) Reset()
- func (x *NotificationMsgEvent) String() string
- type NotificationResponse
- func (*NotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationResponse) GetCode() int64
- func (x *NotificationResponse) GetMessage() string
- func (x *NotificationResponse) GetResult() []*Notification
- func (x *NotificationResponse) GetStatus() string
- func (x *NotificationResponse) GetUnreadCount() int64
- func (*NotificationResponse) ProtoMessage()
- func (x *NotificationResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationResponse) Reset()
- func (x *NotificationResponse) String() string
- type Notification_NOTIFICATION_TYPE
- func (Notification_NOTIFICATION_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x Notification_NOTIFICATION_TYPE) Enum() *Notification_NOTIFICATION_TYPE
- func (Notification_NOTIFICATION_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x Notification_NOTIFICATION_TYPE) Number() protoreflect.EnumNumber
- func (x Notification_NOTIFICATION_TYPE) String() string
- func (Notification_NOTIFICATION_TYPE) Type() protoreflect.EnumType
- type OAUTHRequest
- func (*OAUTHRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OAUTHRequest) GetAuthRequest() *AuthenticateRequest
- func (x *OAUTHRequest) GetCode() string
- func (x *OAUTHRequest) GetService() Connection_Type
- func (*OAUTHRequest) ProtoMessage()
- func (x *OAUTHRequest) ProtoReflect() protoreflect.Message
- func (x *OAUTHRequest) Reset()
- func (x *OAUTHRequest) String() string
- type PERSONAL_STATE
- func (PERSONAL_STATE) Descriptor() protoreflect.EnumDescriptor
- func (x PERSONAL_STATE) Enum() *PERSONAL_STATE
- func (PERSONAL_STATE) EnumDescriptor() ([]byte, []int)deprecated
- func (x PERSONAL_STATE) Number() protoreflect.EnumNumber
- func (x PERSONAL_STATE) String() string
- func (PERSONAL_STATE) Type() protoreflect.EnumType
- type PRIVACY
- type PendingFriendRequests
- func (*PendingFriendRequests) Descriptor() ([]byte, []int)deprecated
- func (x *PendingFriendRequests) GetCode() int64
- func (x *PendingFriendRequests) GetMessage() string
- func (x *PendingFriendRequests) GetResult() []*FriendRequest
- func (x *PendingFriendRequests) GetStatus() string
- func (*PendingFriendRequests) ProtoMessage()
- func (x *PendingFriendRequests) ProtoReflect() protoreflect.Message
- func (x *PendingFriendRequests) Reset()
- func (x *PendingFriendRequests) String() string
- type PersonalActivityMsgEvent
- func (*PersonalActivityMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PersonalActivityMsgEvent) GetActivity() *Activity
- func (x *PersonalActivityMsgEvent) GetUser() *User
- func (*PersonalActivityMsgEvent) ProtoMessage()
- func (x *PersonalActivityMsgEvent) ProtoReflect() protoreflect.Message
- func (x *PersonalActivityMsgEvent) Reset()
- func (x *PersonalActivityMsgEvent) String() string
- type PersonalStateMsgEvent
- func (*PersonalStateMsgEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PersonalStateMsgEvent) GetActivity() *Activity
- func (x *PersonalStateMsgEvent) GetState() PERSONAL_STATE
- func (x *PersonalStateMsgEvent) GetUser() *User
- func (*PersonalStateMsgEvent) ProtoMessage()
- func (x *PersonalStateMsgEvent) ProtoReflect() protoreflect.Message
- func (x *PersonalStateMsgEvent) Reset()
- func (x *PersonalStateMsgEvent) String() string
- type PingMsgEvent
- type RecoveryCode
- func (*RecoveryCode) Descriptor() ([]byte, []int)deprecated
- func (x *RecoveryCode) GetCode() string
- func (x *RecoveryCode) GetCreatedAt() *timestamppb.Timestamp
- func (x *RecoveryCode) GetId() string
- func (x *RecoveryCode) GetUserId() string
- func (*RecoveryCode) ProtoMessage()
- func (x *RecoveryCode) ProtoReflect() protoreflect.Message
- func (x *RecoveryCode) Reset()
- func (x *RecoveryCode) String() string
- type RecoveryCodesResponse
- func (*RecoveryCodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RecoveryCodesResponse) GetCode() int64
- func (x *RecoveryCodesResponse) GetMessage() string
- func (x *RecoveryCodesResponse) GetResult() []*RecoveryCode
- func (x *RecoveryCodesResponse) GetStatus() string
- func (*RecoveryCodesResponse) ProtoMessage()
- func (x *RecoveryCodesResponse) ProtoReflect() protoreflect.Message
- func (x *RecoveryCodesResponse) Reset()
- func (x *RecoveryCodesResponse) String() string
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetRefreshedToken() []byte
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- type RemoveSubtitleRequest
- func (*RemoveSubtitleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSubtitleRequest) GetAuthRequest() *AuthenticateRequest
- func (x *RemoveSubtitleRequest) GetMediaSourceId() string
- func (x *RemoveSubtitleRequest) GetSubtitleId() string
- func (*RemoveSubtitleRequest) ProtoMessage()
- func (x *RemoveSubtitleRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSubtitleRequest) Reset()
- func (x *RemoveSubtitleRequest) String() string
- type Renegotiation
- func (*Renegotiation) Descriptor() ([]byte, []int)deprecated
- func (x *Renegotiation) GetSdp() *SessionDescription
- func (x *Renegotiation) GetVoiceConnectionId() string
- func (*Renegotiation) ProtoMessage()
- func (x *Renegotiation) ProtoReflect() protoreflect.Message
- func (x *Renegotiation) Reset()
- func (x *Renegotiation) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetCode() int64
- func (x *Response) GetMessage() string
- func (x *Response) GetResult() []byte
- func (x *Response) GetStatus() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type SearchUserRequest
- func (*SearchUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserRequest) GetAuthRequest() *AuthenticateRequest
- func (x *SearchUserRequest) GetKeyword() string
- func (*SearchUserRequest) ProtoMessage()
- func (x *SearchUserRequest) ProtoReflect() protoreflect.Message
- func (x *SearchUserRequest) Reset()
- func (x *SearchUserRequest) String() string
- type SearchUserResponse
- func (*SearchUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserResponse) GetCode() int64
- func (x *SearchUserResponse) GetMessage() string
- func (x *SearchUserResponse) GetResult() []*User
- func (x *SearchUserResponse) GetStatus() string
- func (*SearchUserResponse) ProtoMessage()
- func (x *SearchUserResponse) ProtoReflect() protoreflect.Message
- func (x *SearchUserResponse) Reset()
- func (x *SearchUserResponse) String() string
- type SessionDescription
- func (*SessionDescription) Descriptor() ([]byte, []int)deprecated
- func (x *SessionDescription) GetSdp() string
- func (x *SessionDescription) GetType() SessionDescription_TYPE
- func (*SessionDescription) ProtoMessage()
- func (x *SessionDescription) ProtoReflect() protoreflect.Message
- func (x *SessionDescription) Reset()
- func (x *SessionDescription) String() string
- type SessionDescription_TYPE
- func (SessionDescription_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x SessionDescription_TYPE) Enum() *SessionDescription_TYPE
- func (SessionDescription_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionDescription_TYPE) Number() protoreflect.EnumNumber
- func (x SessionDescription_TYPE) String() string
- func (SessionDescription_TYPE) Type() protoreflect.EnumType
- type Subtitle
- func (*Subtitle) Descriptor() ([]byte, []int)deprecated
- func (x *Subtitle) GetCreatedAt() *timestamppb.Timestamp
- func (x *Subtitle) GetFile() string
- func (x *Subtitle) GetId() string
- func (x *Subtitle) GetLang() string
- func (x *Subtitle) GetMediaSourceId() string
- func (x *Subtitle) GetUpdatedAt() *timestamppb.Timestamp
- func (*Subtitle) ProtoMessage()
- func (x *Subtitle) ProtoReflect() protoreflect.Message
- func (x *Subtitle) Reset()
- func (x *Subtitle) String() string
- type SubtitlesResponse
- func (*SubtitlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubtitlesResponse) GetCode() int64
- func (x *SubtitlesResponse) GetMessage() string
- func (x *SubtitlesResponse) GetResult() []*Subtitle
- func (x *SubtitlesResponse) GetStatus() string
- func (*SubtitlesResponse) ProtoMessage()
- func (x *SubtitlesResponse) ProtoReflect() protoreflect.Message
- func (x *SubtitlesResponse) Reset()
- func (x *SubtitlesResponse) String() string
- type Theater
- func (*Theater) Descriptor() ([]byte, []int)deprecated
- func (x *Theater) GetCreatedAt() *timestamppb.Timestamp
- func (x *Theater) GetDescription() string
- func (x *Theater) GetFollowed() bool
- func (x *Theater) GetId() string
- func (x *Theater) GetMediaSource() *MediaSource
- func (x *Theater) GetPrivacy() PRIVACY
- func (x *Theater) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Theater) GetUser() *User
- func (x *Theater) GetUserId() string
- func (x *Theater) GetVideoPlayerAccess() VIDEO_PLAYER_ACCESS
- func (*Theater) ProtoMessage()
- func (x *Theater) ProtoReflect() protoreflect.Message
- func (x *Theater) Reset()
- func (x *Theater) String() string
- type TheaterAuthRequest
- func (*TheaterAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TheaterAuthRequest) GetAuthRequest() *AuthenticateRequest
- func (x *TheaterAuthRequest) GetTheater() *Theater
- func (*TheaterAuthRequest) ProtoMessage()
- func (x *TheaterAuthRequest) ProtoReflect() protoreflect.Message
- func (x *TheaterAuthRequest) Reset()
- func (x *TheaterAuthRequest) String() string
- type TheaterLogOnEvent
- func (*TheaterLogOnEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TheaterLogOnEvent) GetRoom() []byte
- func (x *TheaterLogOnEvent) GetToken() []byte
- func (*TheaterLogOnEvent) ProtoMessage()
- func (x *TheaterLogOnEvent) ProtoReflect() protoreflect.Message
- func (x *TheaterLogOnEvent) Reset()
- func (x *TheaterLogOnEvent) String() string
- type TheaterMediaSourcesResponse
- func (*TheaterMediaSourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TheaterMediaSourcesResponse) GetCode() int64
- func (x *TheaterMediaSourcesResponse) GetMessage() string
- func (x *TheaterMediaSourcesResponse) GetResult() []*MediaSource
- func (x *TheaterMediaSourcesResponse) GetStatus() string
- func (*TheaterMediaSourcesResponse) ProtoMessage()
- func (x *TheaterMediaSourcesResponse) ProtoReflect() protoreflect.Message
- func (x *TheaterMediaSourcesResponse) Reset()
- func (x *TheaterMediaSourcesResponse) String() string
- type TheaterMembers
- type TheaterRole
- func (*TheaterRole) Descriptor() ([]byte, []int)deprecated
- func (x *TheaterRole) GetId() string
- func (x *TheaterRole) GetTheaterId() string
- func (x *TheaterRole) GetTitle() string
- func (*TheaterRole) ProtoMessage()
- func (x *TheaterRole) ProtoReflect() protoreflect.Message
- func (x *TheaterRole) Reset()
- func (x *TheaterRole) String() string
- type TheaterServiceClient
- type TheaterServiceServer
- type TheaterSubtitlesResponse
- func (*TheaterSubtitlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TheaterSubtitlesResponse) GetCode() int64
- func (x *TheaterSubtitlesResponse) GetMessage() string
- func (x *TheaterSubtitlesResponse) GetResult() []*Subtitle
- func (x *TheaterSubtitlesResponse) GetStatus() string
- func (*TheaterSubtitlesResponse) ProtoMessage()
- func (x *TheaterSubtitlesResponse) ProtoReflect() protoreflect.Message
- func (x *TheaterSubtitlesResponse) Reset()
- func (x *TheaterSubtitlesResponse) String() string
- type TheaterVideoPlayer
- func (*TheaterVideoPlayer) Descriptor() ([]byte, []int)deprecated
- func (x *TheaterVideoPlayer) GetCurrentTime() float32
- func (x *TheaterVideoPlayer) GetMediaSource() *MediaSource
- func (x *TheaterVideoPlayer) GetSentAt() *timestamppb.Timestamp
- func (x *TheaterVideoPlayer) GetState() TheaterVideoPlayer_State
- func (x *TheaterVideoPlayer) GetTheaterId() string
- func (x *TheaterVideoPlayer) GetUserId() string
- func (*TheaterVideoPlayer) ProtoMessage()
- func (x *TheaterVideoPlayer) ProtoReflect() protoreflect.Message
- func (x *TheaterVideoPlayer) Reset()
- func (x *TheaterVideoPlayer) String() string
- type TheaterVideoPlayer_State
- func (TheaterVideoPlayer_State) Descriptor() protoreflect.EnumDescriptor
- func (x TheaterVideoPlayer_State) Enum() *TheaterVideoPlayer_State
- func (TheaterVideoPlayer_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x TheaterVideoPlayer_State) Number() protoreflect.EnumNumber
- func (x TheaterVideoPlayer_State) String() string
- func (TheaterVideoPlayer_State) Type() protoreflect.EnumType
- type TwoFactorAuthRequest
- func (*TwoFactorAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TwoFactorAuthRequest) GetAuthRequest() *AuthenticateRequest
- func (x *TwoFactorAuthRequest) GetCode() string
- func (*TwoFactorAuthRequest) ProtoMessage()
- func (x *TwoFactorAuthRequest) ProtoReflect() protoreflect.Message
- func (x *TwoFactorAuthRequest) Reset()
- func (x *TwoFactorAuthRequest) String() string
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) Authenticate(context.Context, *AuthRequest) (*AuthResponse, error)
- func (UnimplementedAuthServiceServer) CallbackOAUTH(context.Context, *OAUTHRequest) (*AuthResponse, error)
- func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*AuthResponse, error)
- type UnimplementedMessagesServiceServer
- func (UnimplementedMessagesServiceServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*AttachmentResponse, error)
- func (UnimplementedMessagesServiceServer) CreateMessage(context.Context, *MessageRequest) (*MessageResponse, error)
- func (UnimplementedMessagesServiceServer) DeleteMessage(context.Context, *MessageRequest) (*MessageResponse, error)
- func (UnimplementedMessagesServiceServer) EditMessage(context.Context, *MessageRequest) (*MessageResponse, error)
- func (UnimplementedMessagesServiceServer) GetUserMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
- type UnimplementedTheaterServiceServer
- func (UnimplementedTheaterServiceServer) AddMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
- func (UnimplementedTheaterServiceServer) AddSubtitles(context.Context, *AddSubtitlesRequest) (*SubtitlesResponse, error)
- func (UnimplementedTheaterServiceServer) Follow(context.Context, *TheaterAuthRequest) (*Response, error)
- func (UnimplementedTheaterServiceServer) GetFollowedTheaters(context.Context, *AuthenticateRequest) (*FollowedTheatersResponse, error)
- func (UnimplementedTheaterServiceServer) GetMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
- func (UnimplementedTheaterServiceServer) GetMediaSources(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
- func (UnimplementedTheaterServiceServer) GetSubtitles(context.Context, *MediaSourceAuthRequest) (*TheaterSubtitlesResponse, error)
- func (UnimplementedTheaterServiceServer) GetTheater(context.Context, *GetTheaterRequest) (*UserTheaterResponse, error)
- func (UnimplementedTheaterServiceServer) Invite(context.Context, *InviteFriendsTheaterRequest) (*Response, error)
- func (UnimplementedTheaterServiceServer) RemoveMediaSource(context.Context, *MediaSourceRemoveRequest) (*Response, error)
- func (UnimplementedTheaterServiceServer) RemoveSubtitle(context.Context, *RemoveSubtitleRequest) (*Response, error)
- func (UnimplementedTheaterServiceServer) SelectMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
- func (UnimplementedTheaterServiceServer) Unfollow(context.Context, *TheaterAuthRequest) (*Response, error)
- func (UnimplementedTheaterServiceServer) UpdateTheater(context.Context, *TheaterAuthRequest) (*Response, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) AcceptFriendRequest(context.Context, *FriendRequest) (*Response, error)
- func (UnimplementedUserServiceServer) CreateDevice(context.Context, *CreateUserDevice) (*Response, error)
- func (UnimplementedUserServiceServer) CreateNotification(context.Context, *CreateNotificationRequest) (*NotificationResponse, error)
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*AuthResponse, error)
- func (UnimplementedUserServiceServer) DisableTwoFactorAuth(context.Context, *TwoFactorAuthRequest) (*Response, error)
- func (UnimplementedUserServiceServer) EnableTwoFactorAuth(context.Context, *TwoFactorAuthRequest) (*Response, error)
- func (UnimplementedUserServiceServer) GenerateRecoveryCodes(context.Context, *AuthenticateRequest) (*RecoveryCodesResponse, error)
- func (UnimplementedUserServiceServer) GetConnection(context.Context, *ConnectionRequest) (*ConnectionsResponse, error)
- func (UnimplementedUserServiceServer) GetConnections(context.Context, *AuthenticateRequest) (*ConnectionsResponse, error)
- func (UnimplementedUserServiceServer) GetDevices(context.Context, *AuthenticateRequest) (*UserDeviceResponse, error)
- func (UnimplementedUserServiceServer) GetFriend(context.Context, *FriendRequest) (*FriendResponse, error)
- func (UnimplementedUserServiceServer) GetFriendRequest(context.Context, *FriendRequest) (*Friend, error)
- func (UnimplementedUserServiceServer) GetFriends(context.Context, *AuthenticateRequest) (*FriendsResponse, error)
- func (UnimplementedUserServiceServer) GetNotifications(context.Context, *AuthenticateRequest) (*NotificationResponse, error)
- func (UnimplementedUserServiceServer) GetOnlineFriends(context.Context, *AuthenticateRequest) (*FriendsResponse, error)
- func (UnimplementedUserServiceServer) GetPendingFriendRequests(context.Context, *AuthenticateRequest) (*PendingFriendRequests, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *AuthenticateRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) ReadAllNotifications(context.Context, *AuthenticateRequest) (*NotificationResponse, error)
- func (UnimplementedUserServiceServer) RemoveActivity(context.Context, *AuthenticateRequest) (*Response, error)
- func (UnimplementedUserServiceServer) Search(context.Context, *SearchUserRequest) (*SearchUserResponse, error)
- func (UnimplementedUserServiceServer) SendFriendRequest(context.Context, *FriendRequest) (*Response, error)
- func (UnimplementedUserServiceServer) UpdateActivity(context.Context, *UpdateActivityRequest) (*Response, error)
- func (UnimplementedUserServiceServer) UpdateConnection(context.Context, *ConnectionRequest) (*ConnectionsResponse, error)
- func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*Response, error)
- func (UnimplementedUserServiceServer) UpdateState(context.Context, *UpdateStateRequest) (*Response, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*GetUserResponse, error)
- type UnsafeAuthServiceServer
- type UnsafeMessagesServiceServer
- type UnsafeTheaterServiceServer
- type UnsafeUserServiceServer
- type UpdateActivityRequest
- func (*UpdateActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActivityRequest) GetActivity() *Activity
- func (x *UpdateActivityRequest) GetAuthRequest() *AuthenticateRequest
- func (*UpdateActivityRequest) ProtoMessage()
- func (x *UpdateActivityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateActivityRequest) Reset()
- func (x *UpdateActivityRequest) String() string
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetAuthRequest() *AuthenticateRequest
- func (x *UpdatePasswordRequest) GetCurrentPassword() string
- func (x *UpdatePasswordRequest) GetNewPassword() string
- func (x *UpdatePasswordRequest) GetVerifyNewPassword() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- type UpdateStateRequest
- func (*UpdateStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStateRequest) GetAuthRequest() *AuthenticateRequest
- func (x *UpdateStateRequest) GetState() PERSONAL_STATE
- func (*UpdateStateRequest) ProtoMessage()
- func (x *UpdateStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStateRequest) Reset()
- func (x *UpdateStateRequest) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAuthRequest() *AuthenticateRequest
- func (x *UpdateUserRequest) GetResult() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetActivity() *Activity
- func (x *User) GetAvatar() string
- func (x *User) GetEmail() string
- func (x *User) GetEmailVerified() bool
- func (x *User) GetFullname() string
- func (x *User) GetHash() string
- func (x *User) GetId() string
- func (x *User) GetIsActive() bool
- func (x *User) GetIsStaff() bool
- func (x *User) GetJoinedAt() *timestamppb.Timestamp
- func (x *User) GetLastLogin() *timestamppb.Timestamp
- func (x *User) GetPassword() string
- func (x *User) GetState() PERSONAL_STATE
- func (x *User) GetTwoFaEnabled() bool
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (x *User) GetVerified() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserDeviceResponse
- func (*UserDeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeviceResponse) GetCode() int64
- func (x *UserDeviceResponse) GetMessage() string
- func (x *UserDeviceResponse) GetResult() []*Device
- func (x *UserDeviceResponse) GetStatus() string
- func (*UserDeviceResponse) ProtoMessage()
- func (x *UserDeviceResponse) ProtoReflect() protoreflect.Message
- func (x *UserDeviceResponse) Reset()
- func (x *UserDeviceResponse) String() string
- type UserServiceClient
- type UserServiceServer
- type UserTheaterResponse
- func (*UserTheaterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserTheaterResponse) GetCode() int64
- func (x *UserTheaterResponse) GetMessage() string
- func (x *UserTheaterResponse) GetResult() *Theater
- func (x *UserTheaterResponse) GetStatus() string
- func (*UserTheaterResponse) ProtoMessage()
- func (x *UserTheaterResponse) ProtoReflect() protoreflect.Message
- func (x *UserTheaterResponse) Reset()
- func (x *UserTheaterResponse) String() string
- type VIDEO_PLAYER_ACCESS
- func (VIDEO_PLAYER_ACCESS) Descriptor() protoreflect.EnumDescriptor
- func (x VIDEO_PLAYER_ACCESS) Enum() *VIDEO_PLAYER_ACCESS
- func (VIDEO_PLAYER_ACCESS) EnumDescriptor() ([]byte, []int)deprecated
- func (x VIDEO_PLAYER_ACCESS) Number() protoreflect.EnumNumber
- func (x VIDEO_PLAYER_ACCESS) String() string
- func (VIDEO_PLAYER_ACCESS) Type() protoreflect.EnumType
- type ValidationError
- func (*ValidationError) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationError) GetErrors() []string
- func (x *ValidationError) GetField() string
- func (*ValidationError) ProtoMessage()
- func (x *ValidationError) ProtoReflect() protoreflect.Message
- func (x *ValidationError) Reset()
- func (x *ValidationError) String() string
- type VideoPlayerAccessByRoles
- func (*VideoPlayerAccessByRoles) Descriptor() ([]byte, []int)deprecated
- func (x *VideoPlayerAccessByRoles) GetRoles() []*TheaterRole
- func (*VideoPlayerAccessByRoles) ProtoMessage()
- func (x *VideoPlayerAccessByRoles) ProtoReflect() protoreflect.Message
- func (x *VideoPlayerAccessByRoles) Reset()
- func (x *VideoPlayerAccessByRoles) String() string
- type VoiceConnection
- func (*VoiceConnection) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceConnection) GetDeafened() bool
- func (x *VoiceConnection) GetId() string
- func (x *VoiceConnection) GetMuted() bool
- func (x *VoiceConnection) GetTalking() bool
- func (x *VoiceConnection) GetTheater() *Theater
- func (x *VoiceConnection) GetUser() *User
- func (*VoiceConnection) ProtoMessage()
- func (x *VoiceConnection) ProtoReflect() protoreflect.Message
- func (x *VoiceConnection) Reset()
- func (x *VoiceConnection) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Connection_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "GOOGLE", 2: "YOUTUBE", 3: "GITHUB", 4: "DISCORD", 5: "SPOTIFY", 6: "SOUND_CLOUD", } Connection_Type_value = map[string]int32{ "UNKNOWN": 0, "GOOGLE": 1, "YOUTUBE": 2, "GITHUB": 3, "DISCORD": 4, "SPOTIFY": 5, "SOUND_CLOUD": 6, } )
Enum value maps for Connection_Type.
var ( Device_Platform_name = map[int32]string{ 0: "UNKNOWN", 1: "IPHONE", 2: "ANDROID", 3: "MACOS", 4: "LINUX", 5: "WINDOWS", 6: "IPAD", 7: "TABLET", 8: "TV", } Device_Platform_value = map[string]int32{ "UNKNOWN": 0, "IPHONE": 1, "ANDROID": 2, "MACOS": 3, "LINUX": 4, "WINDOWS": 5, "IPAD": 6, "TABLET": 7, "TV": 8, } )
Enum value maps for Device_Platform.
var ( PRIVACY_name = map[int32]string{ 0: "UNKNOWN", 1: "PUBLIC", 2: "PRIVATE", 3: "FRIENDS", 4: "CHOOSEN_FRIENDS", } PRIVACY_value = map[string]int32{ "UNKNOWN": 0, "PUBLIC": 1, "PRIVATE": 2, "FRIENDS": 3, "CHOOSEN_FRIENDS": 4, } )
Enum value maps for PRIVACY.
var ( VIDEO_PLAYER_ACCESS_name = map[int32]string{ 0: "ACCESS_UNKNOWN", 1: "ACCESS_BY_USER", 2: "ACCESS_BY_EVERYONE", 3: "ACCESS_BY_FRIENDS", 4: "ACCESS_BY_CHOOSEN_FRIENDS", } VIDEO_PLAYER_ACCESS_value = map[string]int32{ "ACCESS_UNKNOWN": 0, "ACCESS_BY_USER": 1, "ACCESS_BY_EVERYONE": 2, "ACCESS_BY_FRIENDS": 3, "ACCESS_BY_CHOOSEN_FRIENDS": 4, } )
Enum value maps for VIDEO_PLAYER_ACCESS.
var ( MediaSource_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "YOUTUBE", 2: "TORRENT", 3: "SOUND_CLOUD", 4: "DOWNLOAD_URI", 5: "LOCAL_PATH", 6: "SPOTIFY", 7: "M3U8", } MediaSource_Type_value = map[string]int32{ "UNKNOWN": 0, "YOUTUBE": 1, "TORRENT": 2, "SOUND_CLOUD": 3, "DOWNLOAD_URI": 4, "LOCAL_PATH": 5, "SPOTIFY": 6, "M3U8": 7, } )
Enum value maps for MediaSource_Type.
var ( Notification_NOTIFICATION_TYPE_name = map[int32]string{ 0: "INVALID", 1: "NEW_FRIEND", 2: "NEW_THEATER_INVITE", 3: "SYSTEM_NOTIFY", } Notification_NOTIFICATION_TYPE_value = map[string]int32{ "INVALID": 0, "NEW_FRIEND": 1, "NEW_THEATER_INVITE": 2, "SYSTEM_NOTIFY": 3, } )
Enum value maps for Notification_NOTIFICATION_TYPE.
var ( PERSONAL_STATE_name = map[int32]string{ 0: "OFFLINE", 1: "ONLINE", 2: "IDLE", 3: "BUSY", 4: "INVISIBLE", } PERSONAL_STATE_value = map[string]int32{ "OFFLINE": 0, "ONLINE": 1, "IDLE": 2, "BUSY": 3, "INVISIBLE": 4, } )
Enum value maps for PERSONAL_STATE.
var ( EMSG_name = map[int32]string{ 0: "INVALID", 1: "PING", 2: "PONG", 3: "LOGON", 4: "LOGOUT", 5: "PERSONAL_STATE_CHANGED", 6: "PERSONAL_ACTIVITY_CHANGED", 7: "AUTHORIZED", 8: "UNAUTHORIZED", 9: "CHAT_MESSAGES", 10: "LOG_MESSAGES", 11: "NEW_CHAT_MESSAGE", 12: "NEW_LOG_MESSAGE", 13: "MEMBER_STATE_CHANGED", 14: "THEATER_MEMBERS", 15: "THEATER_PLAY", 16: "THEATER_BUFFERED_AND_PLAYED", 17: "THEATER_PAUSE", 18: "NEW_NOTIFICATION", 19: "FRIEND_REQUEST_ACCEPTED", 20: "THEATER_UPDATED", 21: "THEATER_MEDIA_SOURCE_CHANGED", 22: "SYNC_ME", 23: "SYNCED", 24: "BUFFERING", 25: "BUFFERED", 26: "WAITING_FOR_CLIENTS", 27: "CLIENTS_SYNCYED", 28: "FINISHED_MOVIE", 29: "PLAYING", 30: "CLIENT_READY", 31: "MESSAGE_EDITED", 32: "MESSAGE_DELETED", 33: "USER_UPDATED", 34: "SELF_USER_UPDATED", 35: "SELF_PERSONAL_STATE_CHANGED", 36: "SELF_PERSONAL_ACTIVITY_CHANGED", 37: "SELF_FRIEND_REQUEST_ACCEPTED", 38: "JOIN_THEATER", 39: "LEAVE_THEATER", 40: "NEW_FRIEND", 41: "REMOVED_FRIEND", 42: "INCOMING_CALL", 43: "CALLLING", 44: "DECLINED", 45: "ANSWERED", 46: "GET_FRIEND_STATE", 47: "VOICE_CONNECTION_UPDATED", 48: "VOICE_CONNECTION_CREATED", 49: "VOICE_CONNECTION_REMOVED", 50: "VOICE_CONNECTION_MUTED", 51: "VOICE_CONNECTION_DEAFENED", 52: "RELAY_SESSION_DESCRIPTION", 53: "RELAY_ICE_CANDIDATE", 54: "RENEGOTIATION_NEEDED", 55: "JOIN_THEATER_VOICE_SERVER", } EMSG_value = map[string]int32{ "INVALID": 0, "PING": 1, "PONG": 2, "LOGON": 3, "LOGOUT": 4, "PERSONAL_STATE_CHANGED": 5, "PERSONAL_ACTIVITY_CHANGED": 6, "AUTHORIZED": 7, "UNAUTHORIZED": 8, "CHAT_MESSAGES": 9, "LOG_MESSAGES": 10, "NEW_CHAT_MESSAGE": 11, "NEW_LOG_MESSAGE": 12, "MEMBER_STATE_CHANGED": 13, "THEATER_MEMBERS": 14, "THEATER_PLAY": 15, "THEATER_BUFFERED_AND_PLAYED": 16, "THEATER_PAUSE": 17, "NEW_NOTIFICATION": 18, "FRIEND_REQUEST_ACCEPTED": 19, "THEATER_UPDATED": 20, "THEATER_MEDIA_SOURCE_CHANGED": 21, "SYNC_ME": 22, "SYNCED": 23, "BUFFERING": 24, "BUFFERED": 25, "WAITING_FOR_CLIENTS": 26, "CLIENTS_SYNCYED": 27, "FINISHED_MOVIE": 28, "PLAYING": 29, "CLIENT_READY": 30, "MESSAGE_EDITED": 31, "MESSAGE_DELETED": 32, "USER_UPDATED": 33, "SELF_USER_UPDATED": 34, "SELF_PERSONAL_STATE_CHANGED": 35, "SELF_PERSONAL_ACTIVITY_CHANGED": 36, "SELF_FRIEND_REQUEST_ACCEPTED": 37, "JOIN_THEATER": 38, "LEAVE_THEATER": 39, "NEW_FRIEND": 40, "REMOVED_FRIEND": 41, "INCOMING_CALL": 42, "CALLLING": 43, "DECLINED": 44, "ANSWERED": 45, "GET_FRIEND_STATE": 46, "VOICE_CONNECTION_UPDATED": 47, "VOICE_CONNECTION_CREATED": 48, "VOICE_CONNECTION_REMOVED": 49, "VOICE_CONNECTION_MUTED": 50, "VOICE_CONNECTION_DEAFENED": 51, "RELAY_SESSION_DESCRIPTION": 52, "RELAY_ICE_CANDIDATE": 53, "RENEGOTIATION_NEEDED": 54, "JOIN_THEATER_VOICE_SERVER": 55, } )
Enum value maps for EMSG.
var ( SessionDescription_TYPE_name = map[int32]string{ 0: "SDPInvalid", 1: "SDPTypeOffer", 2: "SDPTypePranswer", 3: "SDPTypeAnswer", 4: "SDPTypeRollback", } SessionDescription_TYPE_value = map[string]int32{ "SDPInvalid": 0, "SDPTypeOffer": 1, "SDPTypePranswer": 2, "SDPTypeAnswer": 3, "SDPTypeRollback": 4, } )
Enum value maps for SessionDescription_TYPE.
var ( TheaterVideoPlayer_State_name = map[int32]string{ 0: "INVALID", 1: "PLAYING", 2: "PAUSED", } TheaterVideoPlayer_State_value = map[string]int32{ "INVALID": 0, "PLAYING": 1, "PAUSED": 2, } )
Enum value maps for TheaterVideoPlayer_State.
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _AuthService_Authenticate_Handler, }, { MethodName: "CallbackOAUTH", Handler: _AuthService_CallbackOAUTH_Handler, }, { MethodName: "RefreshToken", Handler: _AuthService_RefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_grpc_auth_proto protoreflect.FileDescriptor
var File_grpc_base_proto protoreflect.FileDescriptor
var File_grpc_connection_proto protoreflect.FileDescriptor
var File_grpc_devices_proto protoreflect.FileDescriptor
var File_grpc_message_proto protoreflect.FileDescriptor
var File_grpc_theater_proto protoreflect.FileDescriptor
var File_grpc_user_proto protoreflect.FileDescriptor
var File_ws_auth_proto protoreflect.FileDescriptor
var File_ws_base_proto protoreflect.FileDescriptor
var File_ws_chat_proto protoreflect.FileDescriptor
var File_ws_enums_proto protoreflect.FileDescriptor
var File_ws_media_proto protoreflect.FileDescriptor
var File_ws_members_proto protoreflect.FileDescriptor
var File_ws_notification_proto protoreflect.FileDescriptor
var File_ws_state_proto protoreflect.FileDescriptor
var File_ws_theater_proto protoreflect.FileDescriptor
var MessagesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.MessagesService", HandlerType: (*MessagesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserMessages", Handler: _MessagesService_GetUserMessages_Handler, }, { MethodName: "CreateMessage", Handler: _MessagesService_CreateMessage_Handler, }, { MethodName: "EditMessage", Handler: _MessagesService_EditMessage_Handler, }, { MethodName: "DeleteMessage", Handler: _MessagesService_DeleteMessage_Handler, }, { MethodName: "CreateAttachment", Handler: _MessagesService_CreateAttachment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.message.proto", }
MessagesService_ServiceDesc is the grpc.ServiceDesc for MessagesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TheaterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.TheaterService", HandlerType: (*TheaterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Invite", Handler: _TheaterService_Invite_Handler, }, { MethodName: "GetFollowedTheaters", Handler: _TheaterService_GetFollowedTheaters_Handler, }, { MethodName: "Follow", Handler: _TheaterService_Follow_Handler, }, { MethodName: "Unfollow", Handler: _TheaterService_Unfollow_Handler, }, { MethodName: "GetTheater", Handler: _TheaterService_GetTheater_Handler, }, { MethodName: "UpdateTheater", Handler: _TheaterService_UpdateTheater_Handler, }, { MethodName: "AddSubtitles", Handler: _TheaterService_AddSubtitles_Handler, }, { MethodName: "RemoveSubtitle", Handler: _TheaterService_RemoveSubtitle_Handler, }, { MethodName: "GetSubtitles", Handler: _TheaterService_GetSubtitles_Handler, }, { MethodName: "GetMediaSources", Handler: _TheaterService_GetMediaSources_Handler, }, { MethodName: "GetMediaSource", Handler: _TheaterService_GetMediaSource_Handler, }, { MethodName: "SelectMediaSource", Handler: _TheaterService_SelectMediaSource_Handler, }, { MethodName: "RemoveMediaSource", Handler: _TheaterService_RemoveMediaSource_Handler, }, { MethodName: "AddMediaSource", Handler: _TheaterService_AddMediaSource_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.theater.proto", }
TheaterService_ServiceDesc is the grpc.ServiceDesc for TheaterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateState", Handler: _UserService_UpdateState_Handler, }, { MethodName: "UpdateActivity", Handler: _UserService_UpdateActivity_Handler, }, { MethodName: "RemoveActivity", Handler: _UserService_RemoveActivity_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "Search", Handler: _UserService_Search_Handler, }, { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "UpdatePassword", Handler: _UserService_UpdatePassword_Handler, }, { MethodName: "GenerateRecoveryCodes", Handler: _UserService_GenerateRecoveryCodes_Handler, }, { MethodName: "EnableTwoFactorAuth", Handler: _UserService_EnableTwoFactorAuth_Handler, }, { MethodName: "DisableTwoFactorAuth", Handler: _UserService_DisableTwoFactorAuth_Handler, }, { MethodName: "GetFriend", Handler: _UserService_GetFriend_Handler, }, { MethodName: "GetPendingFriendRequests", Handler: _UserService_GetPendingFriendRequests_Handler, }, { MethodName: "GetFriendRequest", Handler: _UserService_GetFriendRequest_Handler, }, { MethodName: "SendFriendRequest", Handler: _UserService_SendFriendRequest_Handler, }, { MethodName: "AcceptFriendRequest", Handler: _UserService_AcceptFriendRequest_Handler, }, { MethodName: "GetFriends", Handler: _UserService_GetFriends_Handler, }, { MethodName: "GetOnlineFriends", Handler: _UserService_GetOnlineFriends_Handler, }, { MethodName: "GetConnection", Handler: _UserService_GetConnection_Handler, }, { MethodName: "GetConnections", Handler: _UserService_GetConnections_Handler, }, { MethodName: "UpdateConnection", Handler: _UserService_UpdateConnection_Handler, }, { MethodName: "GetNotifications", Handler: _UserService_GetNotifications_Handler, }, { MethodName: "CreateNotification", Handler: _UserService_CreateNotification_Handler, }, { MethodName: "ReadAllNotifications", Handler: _UserService_ReadAllNotifications_Handler, }, { MethodName: "CreateDevice", Handler: _UserService_CreateDevice_Handler, }, { MethodName: "GetDevices", Handler: _UserService_GetDevices_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc.user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterMessagesServiceServer ¶
func RegisterMessagesServiceServer(s grpc.ServiceRegistrar, srv MessagesServiceServer)
func RegisterTheaterServiceServer ¶
func RegisterTheaterServiceServer(s grpc.ServiceRegistrar, srv TheaterServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type Activity ¶
type Activity struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Activity string `protobuf:"bytes,2,opt,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*Activity) Descriptor
deprecated
func (*Activity) GetActivity ¶
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type AddSubtitlesRequest ¶
type AddSubtitlesRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` MediaSourceId string `protobuf:"bytes,2,opt,name=media_source_id,json=mediaSourceId,proto3" json:"media_source_id,omitempty"` Subtitles []*Subtitle `protobuf:"bytes,3,rep,name=subtitles,proto3" json:"subtitles,omitempty"` // contains filtered or unexported fields }
func (*AddSubtitlesRequest) Descriptor
deprecated
func (*AddSubtitlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSubtitlesRequest.ProtoReflect.Descriptor instead.
func (*AddSubtitlesRequest) GetAuthRequest ¶
func (x *AddSubtitlesRequest) GetAuthRequest() *AuthenticateRequest
func (*AddSubtitlesRequest) GetMediaSourceId ¶
func (x *AddSubtitlesRequest) GetMediaSourceId() string
func (*AddSubtitlesRequest) GetSubtitles ¶
func (x *AddSubtitlesRequest) GetSubtitles() []*Subtitle
func (*AddSubtitlesRequest) ProtoMessage ¶
func (*AddSubtitlesRequest) ProtoMessage()
func (*AddSubtitlesRequest) ProtoReflect ¶
func (x *AddSubtitlesRequest) ProtoReflect() protoreflect.Message
func (*AddSubtitlesRequest) Reset ¶
func (x *AddSubtitlesRequest) Reset()
func (*AddSubtitlesRequest) String ¶
func (x *AddSubtitlesRequest) String() string
type Attachment ¶
type Attachment 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"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetCreatedAt ¶
func (x *Attachment) GetCreatedAt() *timestamppb.Timestamp
func (*Attachment) GetId ¶
func (x *Attachment) GetId() string
func (*Attachment) GetName ¶
func (x *Attachment) GetName() string
func (*Attachment) GetType ¶
func (x *Attachment) GetType() string
func (*Attachment) GetUrl ¶
func (x *Attachment) GetUrl() string
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
type AttachmentResponse ¶
type AttachmentResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Result *Attachment `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*AttachmentResponse) Descriptor
deprecated
func (*AttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachmentResponse.ProtoReflect.Descriptor instead.
func (*AttachmentResponse) GetCode ¶
func (x *AttachmentResponse) GetCode() int64
func (*AttachmentResponse) GetMessage ¶
func (x *AttachmentResponse) GetMessage() string
func (*AttachmentResponse) GetResult ¶
func (x *AttachmentResponse) GetResult() *Attachment
func (*AttachmentResponse) GetStatus ¶
func (x *AttachmentResponse) GetStatus() string
func (*AttachmentResponse) ProtoMessage ¶
func (*AttachmentResponse) ProtoMessage()
func (*AttachmentResponse) ProtoReflect ¶
func (x *AttachmentResponse) ProtoReflect() protoreflect.Message
func (*AttachmentResponse) Reset ¶
func (x *AttachmentResponse) Reset()
func (*AttachmentResponse) String ¶
func (x *AttachmentResponse) String() string
type AuthRequest ¶
type AuthRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Pass string `protobuf:"bytes,2,opt,name=pass,proto3" json:"pass,omitempty"` // contains filtered or unexported fields }
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetPass ¶
func (x *AuthRequest) GetPass() string
func (*AuthRequest) GetUser ¶
func (x *AuthRequest) GetUser() string
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
type AuthResponse ¶
type AuthResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Token []byte `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` RefreshedToken []byte `protobuf:"bytes,6,opt,name=refreshed_token,json=refreshedToken,proto3" json:"refreshed_token,omitempty"` ValidationError []*ValidationError `protobuf:"bytes,7,rep,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"` // contains filtered or unexported fields }
func (*AuthResponse) Descriptor
deprecated
func (*AuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) GetCode ¶
func (x *AuthResponse) GetCode() int64
func (*AuthResponse) GetMessage ¶
func (x *AuthResponse) GetMessage() string
func (*AuthResponse) GetRefreshedToken ¶
func (x *AuthResponse) GetRefreshedToken() []byte
func (*AuthResponse) GetStatus ¶
func (x *AuthResponse) GetStatus() string
func (*AuthResponse) GetToken ¶
func (x *AuthResponse) GetToken() []byte
func (*AuthResponse) GetType ¶
func (x *AuthResponse) GetType() string
func (*AuthResponse) GetValidationError ¶
func (x *AuthResponse) GetValidationError() []*ValidationError
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) ProtoReflect ¶
func (x *AuthResponse) ProtoReflect() protoreflect.Message
func (*AuthResponse) Reset ¶
func (x *AuthResponse) Reset()
func (*AuthResponse) String ¶
func (x *AuthResponse) String() string
type AuthServiceClient ¶
type AuthServiceClient interface { Authenticate(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) CallbackOAUTH(ctx context.Context, in *OAUTHRequest, opts ...grpc.CallOption) (*AuthResponse, error) RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*AuthResponse, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { Authenticate(context.Context, *AuthRequest) (*AuthResponse, error) CallbackOAUTH(context.Context, *OAUTHRequest) (*AuthResponse, error) RefreshToken(context.Context, *RefreshTokenRequest) (*AuthResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type AuthenticateRequest ¶
type AuthenticateRequest struct { Token []byte `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetToken ¶
func (x *AuthenticateRequest) GetToken() []byte
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type CMsgProtoBufHeader ¶
type CMsgProtoBufHeader struct { UserHash []byte `protobuf:"bytes,1,opt,name=UserHash,proto3" json:"UserHash,omitempty"` IpAddr []byte `protobuf:"bytes,2,opt,name=IpAddr,proto3" json:"IpAddr,omitempty"` SessionClientId int32 `protobuf:"varint,3,opt,name=SessionClientId,proto3" json:"SessionClientId,omitempty"` AuthToken []byte `protobuf:"bytes,4,opt,name=AuthToken,proto3" json:"AuthToken,omitempty"` // contains filtered or unexported fields }
func (*CMsgProtoBufHeader) Descriptor
deprecated
func (*CMsgProtoBufHeader) Descriptor() ([]byte, []int)
Deprecated: Use CMsgProtoBufHeader.ProtoReflect.Descriptor instead.
func (*CMsgProtoBufHeader) GetAuthToken ¶
func (x *CMsgProtoBufHeader) GetAuthToken() []byte
func (*CMsgProtoBufHeader) GetIpAddr ¶
func (x *CMsgProtoBufHeader) GetIpAddr() []byte
func (*CMsgProtoBufHeader) GetSessionClientId ¶
func (x *CMsgProtoBufHeader) GetSessionClientId() int32
func (*CMsgProtoBufHeader) GetUserHash ¶
func (x *CMsgProtoBufHeader) GetUserHash() []byte
func (*CMsgProtoBufHeader) ProtoMessage ¶
func (*CMsgProtoBufHeader) ProtoMessage()
func (*CMsgProtoBufHeader) ProtoReflect ¶
func (x *CMsgProtoBufHeader) ProtoReflect() protoreflect.Message
func (*CMsgProtoBufHeader) Reset ¶
func (x *CMsgProtoBufHeader) Reset()
func (*CMsgProtoBufHeader) String ¶
func (x *CMsgProtoBufHeader) String() string
type ChatMsgDeletedEvent ¶
type ChatMsgDeletedEvent struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*ChatMsgDeletedEvent) Descriptor
deprecated
func (*ChatMsgDeletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChatMsgDeletedEvent.ProtoReflect.Descriptor instead.
func (*ChatMsgDeletedEvent) GetDeletedAt ¶
func (x *ChatMsgDeletedEvent) GetDeletedAt() *timestamppb.Timestamp
func (*ChatMsgDeletedEvent) GetMessageId ¶
func (x *ChatMsgDeletedEvent) GetMessageId() string
func (*ChatMsgDeletedEvent) ProtoMessage ¶
func (*ChatMsgDeletedEvent) ProtoMessage()
func (*ChatMsgDeletedEvent) ProtoReflect ¶
func (x *ChatMsgDeletedEvent) ProtoReflect() protoreflect.Message
func (*ChatMsgDeletedEvent) Reset ¶
func (x *ChatMsgDeletedEvent) Reset()
func (*ChatMsgDeletedEvent) String ¶
func (x *ChatMsgDeletedEvent) String() string
type ChatMsgEvent ¶
type ChatMsgEvent struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Sender *User `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Receiver *User `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` Attachments []string `protobuf:"bytes,4,rep,name=attachments,proto3" json:"attachments,omitempty"` Emojies []uint64 `protobuf:"varint,5,rep,packed,name=emojies,proto3" json:"emojies,omitempty"` Mentions []uint64 `protobuf:"varint,6,rep,packed,name=mentions,proto3" json:"mentions,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*ChatMsgEvent) Descriptor
deprecated
func (*ChatMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChatMsgEvent.ProtoReflect.Descriptor instead.
func (*ChatMsgEvent) GetAttachments ¶
func (x *ChatMsgEvent) GetAttachments() []string
func (*ChatMsgEvent) GetCreatedAt ¶
func (x *ChatMsgEvent) GetCreatedAt() *timestamppb.Timestamp
func (*ChatMsgEvent) GetEmojies ¶
func (x *ChatMsgEvent) GetEmojies() []uint64
func (*ChatMsgEvent) GetMentions ¶
func (x *ChatMsgEvent) GetMentions() []uint64
func (*ChatMsgEvent) GetMessage ¶
func (x *ChatMsgEvent) GetMessage() []byte
func (*ChatMsgEvent) GetReceiver ¶ added in v0.0.5
func (x *ChatMsgEvent) GetReceiver() *User
func (*ChatMsgEvent) GetSender ¶
func (x *ChatMsgEvent) GetSender() *User
func (*ChatMsgEvent) ProtoMessage ¶
func (*ChatMsgEvent) ProtoMessage()
func (*ChatMsgEvent) ProtoReflect ¶
func (x *ChatMsgEvent) ProtoReflect() protoreflect.Message
func (*ChatMsgEvent) Reset ¶
func (x *ChatMsgEvent) Reset()
func (*ChatMsgEvent) String ¶
func (x *ChatMsgEvent) String() string
type Connection ¶
type Connection struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ServiceUserId string `protobuf:"bytes,2,opt,name=service_user_id,json=serviceUserId,proto3" json:"service_user_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type Connection_Type `protobuf:"varint,4,opt,name=type,proto3,enum=proto.Connection_Type" json:"type,omitempty"` AccessToken string `protobuf:"bytes,5,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshedToken string `protobuf:"bytes,6,opt,name=refreshed_token,json=refreshedToken,proto3" json:"refreshed_token,omitempty"` ShowActivity bool `protobuf:"varint,7,opt,name=show_activity,json=showActivity,proto3" json:"show_activity,omitempty"` UserId string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetAccessToken ¶
func (x *Connection) GetAccessToken() string
func (*Connection) GetCreatedAt ¶
func (x *Connection) GetCreatedAt() *timestamppb.Timestamp
func (*Connection) GetId ¶
func (x *Connection) GetId() string
func (*Connection) GetName ¶
func (x *Connection) GetName() string
func (*Connection) GetRefreshedToken ¶
func (x *Connection) GetRefreshedToken() string
func (*Connection) GetServiceUserId ¶
func (x *Connection) GetServiceUserId() string
func (*Connection) GetShowActivity ¶
func (x *Connection) GetShowActivity() bool
func (*Connection) GetType ¶
func (x *Connection) GetType() Connection_Type
func (*Connection) GetUpdatedAt ¶
func (x *Connection) GetUpdatedAt() *timestamppb.Timestamp
func (*Connection) GetUserId ¶
func (x *Connection) GetUserId() string
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type ConnectionRequest ¶
type ConnectionRequest struct { Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*ConnectionRequest) Descriptor
deprecated
func (*ConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionRequest.ProtoReflect.Descriptor instead.
func (*ConnectionRequest) GetAuthRequest ¶
func (x *ConnectionRequest) GetAuthRequest() *AuthenticateRequest
func (*ConnectionRequest) GetConnection ¶
func (x *ConnectionRequest) GetConnection() *Connection
func (*ConnectionRequest) ProtoMessage ¶
func (*ConnectionRequest) ProtoMessage()
func (*ConnectionRequest) ProtoReflect ¶
func (x *ConnectionRequest) ProtoReflect() protoreflect.Message
func (*ConnectionRequest) Reset ¶
func (x *ConnectionRequest) Reset()
func (*ConnectionRequest) String ¶
func (x *ConnectionRequest) String() string
type Connection_Type ¶
type Connection_Type int32
const ( Connection_UNKNOWN Connection_Type = 0 Connection_GOOGLE Connection_Type = 1 Connection_YOUTUBE Connection_Type = 2 Connection_GITHUB Connection_Type = 3 Connection_DISCORD Connection_Type = 4 Connection_SPOTIFY Connection_Type = 5 Connection_SOUND_CLOUD Connection_Type = 6 )
func (Connection_Type) Descriptor ¶
func (Connection_Type) Descriptor() protoreflect.EnumDescriptor
func (Connection_Type) Enum ¶
func (x Connection_Type) Enum() *Connection_Type
func (Connection_Type) EnumDescriptor
deprecated
func (Connection_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Connection_Type.Descriptor instead.
func (Connection_Type) Number ¶
func (x Connection_Type) Number() protoreflect.EnumNumber
func (Connection_Type) String ¶
func (x Connection_Type) String() string
func (Connection_Type) Type ¶
func (Connection_Type) Type() protoreflect.EnumType
type ConnectionsResponse ¶
type ConnectionsResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*Connection `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ConnectionsResponse) Descriptor
deprecated
func (*ConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ConnectionsResponse) GetCode ¶
func (x *ConnectionsResponse) GetCode() int64
func (*ConnectionsResponse) GetMessage ¶
func (x *ConnectionsResponse) GetMessage() string
func (*ConnectionsResponse) GetResult ¶
func (x *ConnectionsResponse) GetResult() []*Connection
func (*ConnectionsResponse) GetStatus ¶
func (x *ConnectionsResponse) GetStatus() string
func (*ConnectionsResponse) ProtoMessage ¶
func (*ConnectionsResponse) ProtoMessage()
func (*ConnectionsResponse) ProtoReflect ¶
func (x *ConnectionsResponse) ProtoReflect() protoreflect.Message
func (*ConnectionsResponse) Reset ¶
func (x *ConnectionsResponse) Reset()
func (*ConnectionsResponse) String ¶
func (x *ConnectionsResponse) String() string
type CreateAttachmentRequest ¶
type CreateAttachmentRequest struct { Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*CreateAttachmentRequest) Descriptor
deprecated
func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateAttachmentRequest) GetAttachment ¶
func (x *CreateAttachmentRequest) GetAttachment() *Attachment
func (*CreateAttachmentRequest) GetAuthRequest ¶
func (x *CreateAttachmentRequest) GetAuthRequest() *AuthenticateRequest
func (*CreateAttachmentRequest) ProtoMessage ¶
func (*CreateAttachmentRequest) ProtoMessage()
func (*CreateAttachmentRequest) ProtoReflect ¶
func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*CreateAttachmentRequest) Reset ¶
func (x *CreateAttachmentRequest) Reset()
func (*CreateAttachmentRequest) String ¶
func (x *CreateAttachmentRequest) String() string
type CreateNotificationRequest ¶
type CreateNotificationRequest struct { Notification *Notification `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*CreateNotificationRequest) Descriptor
deprecated
func (*CreateNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotificationRequest.ProtoReflect.Descriptor instead.
func (*CreateNotificationRequest) GetAuthRequest ¶
func (x *CreateNotificationRequest) GetAuthRequest() *AuthenticateRequest
func (*CreateNotificationRequest) GetNotification ¶
func (x *CreateNotificationRequest) GetNotification() *Notification
func (*CreateNotificationRequest) ProtoMessage ¶
func (*CreateNotificationRequest) ProtoMessage()
func (*CreateNotificationRequest) ProtoReflect ¶
func (x *CreateNotificationRequest) ProtoReflect() protoreflect.Message
func (*CreateNotificationRequest) Reset ¶
func (x *CreateNotificationRequest) Reset()
func (*CreateNotificationRequest) String ¶
func (x *CreateNotificationRequest) String() string
type CreateUserDevice ¶
type CreateUserDevice struct { Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*CreateUserDevice) Descriptor
deprecated
func (*CreateUserDevice) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserDevice.ProtoReflect.Descriptor instead.
func (*CreateUserDevice) GetAuthRequest ¶
func (x *CreateUserDevice) GetAuthRequest() *AuthenticateRequest
func (*CreateUserDevice) GetDevice ¶
func (x *CreateUserDevice) GetDevice() *Device
func (*CreateUserDevice) ProtoMessage ¶
func (*CreateUserDevice) ProtoMessage()
func (*CreateUserDevice) ProtoReflect ¶
func (x *CreateUserDevice) ProtoReflect() protoreflect.Message
func (*CreateUserDevice) Reset ¶
func (x *CreateUserDevice) Reset()
func (*CreateUserDevice) String ¶
func (x *CreateUserDevice) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type Device ¶
type Device struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Platform Device_Platform `protobuf:"varint,2,opt,name=platform,proto3,enum=proto.Device_Platform" json:"platform,omitempty"` Browser string `protobuf:"bytes,3,opt,name=browser,proto3" json:"browser,omitempty"` UserAgent string `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` Manifacture string `protobuf:"bytes,5,opt,name=manifacture,proto3" json:"manifacture,omitempty"` IpAddress string `protobuf:"bytes,6,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Country string `protobuf:"bytes,7,opt,name=country,proto3" json:"country,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetBrowser ¶
func (*Device) GetCountry ¶
func (*Device) GetCreatedAt ¶
func (x *Device) GetCreatedAt() *timestamppb.Timestamp
func (*Device) GetIpAddress ¶
func (*Device) GetManifacture ¶
func (*Device) GetPlatform ¶
func (x *Device) GetPlatform() Device_Platform
func (*Device) GetUserAgent ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type Device_Platform ¶
type Device_Platform int32
const ( Device_UNKNOWN Device_Platform = 0 Device_IPHONE Device_Platform = 1 Device_ANDROID Device_Platform = 2 Device_MACOS Device_Platform = 3 Device_LINUX Device_Platform = 4 Device_WINDOWS Device_Platform = 5 Device_IPAD Device_Platform = 6 Device_TABLET Device_Platform = 7 Device_TV Device_Platform = 8 )
func (Device_Platform) Descriptor ¶
func (Device_Platform) Descriptor() protoreflect.EnumDescriptor
func (Device_Platform) Enum ¶
func (x Device_Platform) Enum() *Device_Platform
func (Device_Platform) EnumDescriptor
deprecated
func (Device_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use Device_Platform.Descriptor instead.
func (Device_Platform) Number ¶
func (x Device_Platform) Number() protoreflect.EnumNumber
func (Device_Platform) String ¶
func (x Device_Platform) String() string
func (Device_Platform) Type ¶
func (Device_Platform) Type() protoreflect.EnumType
type EMSG ¶
type EMSG int32
const ( EMSG_INVALID EMSG = 0 EMSG_PING EMSG = 1 EMSG_PONG EMSG = 2 EMSG_LOGON EMSG = 3 EMSG_LOGOUT EMSG = 4 EMSG_PERSONAL_STATE_CHANGED EMSG = 5 EMSG_PERSONAL_ACTIVITY_CHANGED EMSG = 6 EMSG_AUTHORIZED EMSG = 7 EMSG_UNAUTHORIZED EMSG = 8 EMSG_CHAT_MESSAGES EMSG = 9 EMSG_LOG_MESSAGES EMSG = 10 // Theater general events EMSG_NEW_CHAT_MESSAGE EMSG = 11 EMSG_NEW_LOG_MESSAGE EMSG = 12 EMSG_MEMBER_STATE_CHANGED EMSG = 13 EMSG_THEATER_MEMBERS EMSG = 14 EMSG_THEATER_PLAY EMSG = 15 EMSG_THEATER_BUFFERED_AND_PLAYED EMSG = 16 EMSG_THEATER_PAUSE EMSG = 17 EMSG_NEW_NOTIFICATION EMSG = 18 EMSG_FRIEND_REQUEST_ACCEPTED EMSG = 19 EMSG_THEATER_UPDATED EMSG = 20 EMSG_THEATER_MEDIA_SOURCE_CHANGED EMSG = 21 // Theater video player events EMSG_SYNC_ME EMSG = 22 EMSG_SYNCED EMSG = 23 EMSG_BUFFERING EMSG = 24 EMSG_BUFFERED EMSG = 25 EMSG_WAITING_FOR_CLIENTS EMSG = 26 EMSG_CLIENTS_SYNCYED EMSG = 27 EMSG_FINISHED_MOVIE EMSG = 28 EMSG_PLAYING EMSG = 29 EMSG_CLIENT_READY EMSG = 30 // messages EMSG_MESSAGE_EDITED EMSG = 31 EMSG_MESSAGE_DELETED EMSG = 32 // USER events EMSG_USER_UPDATED EMSG = 33 EMSG_SELF_USER_UPDATED EMSG = 34 EMSG_SELF_PERSONAL_STATE_CHANGED EMSG = 35 EMSG_SELF_PERSONAL_ACTIVITY_CHANGED EMSG = 36 EMSG_SELF_FRIEND_REQUEST_ACCEPTED EMSG = 37 EMSG_JOIN_THEATER EMSG = 38 EMSG_LEAVE_THEATER EMSG = 39 EMSG_NEW_FRIEND EMSG = 40 EMSG_REMOVED_FRIEND EMSG = 41 EMSG_INCOMING_CALL EMSG = 42 EMSG_CALLLING EMSG = 43 EMSG_DECLINED EMSG = 44 EMSG_ANSWERED EMSG = 45 EMSG_GET_FRIEND_STATE EMSG = 46 // Media server events EMSG_VOICE_CONNECTION_UPDATED EMSG = 47 EMSG_VOICE_CONNECTION_CREATED EMSG = 48 EMSG_VOICE_CONNECTION_REMOVED EMSG = 49 EMSG_VOICE_CONNECTION_MUTED EMSG = 50 EMSG_VOICE_CONNECTION_DEAFENED EMSG = 51 EMSG_RELAY_SESSION_DESCRIPTION EMSG = 52 EMSG_RELAY_ICE_CANDIDATE EMSG = 53 EMSG_RENEGOTIATION_NEEDED EMSG = 54 EMSG_JOIN_THEATER_VOICE_SERVER EMSG = 55 )
func (EMSG) Descriptor ¶
func (EMSG) Descriptor() protoreflect.EnumDescriptor
func (EMSG) EnumDescriptor
deprecated
func (EMSG) Number ¶
func (x EMSG) Number() protoreflect.EnumNumber
func (EMSG) Type ¶
func (EMSG) Type() protoreflect.EnumType
type Emote ¶
type Emote 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"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Emote) Descriptor
deprecated
func (*Emote) GetContent ¶
func (*Emote) GetCreatedAt ¶
func (x *Emote) GetCreatedAt() *timestamppb.Timestamp
func (*Emote) ProtoMessage ¶
func (*Emote) ProtoMessage()
func (*Emote) ProtoReflect ¶
func (x *Emote) ProtoReflect() protoreflect.Message
type Follow ¶
type Follow struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TheaterId string `protobuf:"bytes,2,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` Theater *Theater `protobuf:"bytes,3,opt,name=theater,proto3" json:"theater,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *User `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` EmailNotification bool `protobuf:"varint,6,opt,name=email_notification,json=emailNotification,proto3" json:"email_notification,omitempty"` PushNotification bool `protobuf:"varint,7,opt,name=push_notification,json=pushNotification,proto3" json:"push_notification,omitempty"` Muted bool `protobuf:"varint,8,opt,name=muted,proto3" json:"muted,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Follow) Descriptor
deprecated
func (*Follow) GetCreatedAt ¶
func (x *Follow) GetCreatedAt() *timestamppb.Timestamp
func (*Follow) GetEmailNotification ¶
func (*Follow) GetPushNotification ¶
func (*Follow) GetTheater ¶
func (*Follow) GetTheaterId ¶
func (*Follow) GetUpdatedAt ¶
func (x *Follow) GetUpdatedAt() *timestamppb.Timestamp
func (*Follow) ProtoMessage ¶
func (*Follow) ProtoMessage()
func (*Follow) ProtoReflect ¶
func (x *Follow) ProtoReflect() protoreflect.Message
type FollowedTheatersResponse ¶
type FollowedTheatersResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*Theater `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*FollowedTheatersResponse) Descriptor
deprecated
func (*FollowedTheatersResponse) Descriptor() ([]byte, []int)
Deprecated: Use FollowedTheatersResponse.ProtoReflect.Descriptor instead.
func (*FollowedTheatersResponse) GetCode ¶
func (x *FollowedTheatersResponse) GetCode() int64
func (*FollowedTheatersResponse) GetMessage ¶
func (x *FollowedTheatersResponse) GetMessage() string
func (*FollowedTheatersResponse) GetResult ¶
func (x *FollowedTheatersResponse) GetResult() []*Theater
func (*FollowedTheatersResponse) GetStatus ¶
func (x *FollowedTheatersResponse) GetStatus() string
func (*FollowedTheatersResponse) ProtoMessage ¶
func (*FollowedTheatersResponse) ProtoMessage()
func (*FollowedTheatersResponse) ProtoReflect ¶
func (x *FollowedTheatersResponse) ProtoReflect() protoreflect.Message
func (*FollowedTheatersResponse) Reset ¶
func (x *FollowedTheatersResponse) Reset()
func (*FollowedTheatersResponse) String ¶
func (x *FollowedTheatersResponse) String() string
type Friend ¶
type Friend struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FriendId string `protobuf:"bytes,2,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Accepted bool `protobuf:"varint,4,opt,name=accepted,proto3" json:"accepted,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Friend) Descriptor
deprecated
func (*Friend) GetAccepted ¶
func (*Friend) GetCreatedAt ¶
func (x *Friend) GetCreatedAt() *timestamppb.Timestamp
func (*Friend) GetFriendId ¶
func (*Friend) GetUpdatedAt ¶
func (x *Friend) GetUpdatedAt() *timestamppb.Timestamp
func (*Friend) ProtoMessage ¶
func (*Friend) ProtoMessage()
func (*Friend) ProtoReflect ¶
func (x *Friend) ProtoReflect() protoreflect.Message
type FriendRequest ¶
type FriendRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` FriendId string `protobuf:"bytes,2,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` Friend *User `protobuf:"bytes,3,opt,name=friend,proto3" json:"friend,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,4,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*FriendRequest) Descriptor
deprecated
func (*FriendRequest) Descriptor() ([]byte, []int)
Deprecated: Use FriendRequest.ProtoReflect.Descriptor instead.
func (*FriendRequest) GetAuthRequest ¶
func (x *FriendRequest) GetAuthRequest() *AuthenticateRequest
func (*FriendRequest) GetFriend ¶
func (x *FriendRequest) GetFriend() *User
func (*FriendRequest) GetFriendId ¶
func (x *FriendRequest) GetFriendId() string
func (*FriendRequest) GetRequestId ¶
func (x *FriendRequest) GetRequestId() string
func (*FriendRequest) ProtoMessage ¶
func (*FriendRequest) ProtoMessage()
func (*FriendRequest) ProtoReflect ¶
func (x *FriendRequest) ProtoReflect() protoreflect.Message
func (*FriendRequest) Reset ¶
func (x *FriendRequest) Reset()
func (*FriendRequest) String ¶
func (x *FriendRequest) String() string
type FriendRequestAcceptedMsgEvent ¶
type FriendRequestAcceptedMsgEvent struct { Friend *User `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend,omitempty"` // contains filtered or unexported fields }
func (*FriendRequestAcceptedMsgEvent) Descriptor
deprecated
func (*FriendRequestAcceptedMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use FriendRequestAcceptedMsgEvent.ProtoReflect.Descriptor instead.
func (*FriendRequestAcceptedMsgEvent) GetFriend ¶
func (x *FriendRequestAcceptedMsgEvent) GetFriend() *User
func (*FriendRequestAcceptedMsgEvent) ProtoMessage ¶
func (*FriendRequestAcceptedMsgEvent) ProtoMessage()
func (*FriendRequestAcceptedMsgEvent) ProtoReflect ¶
func (x *FriendRequestAcceptedMsgEvent) ProtoReflect() protoreflect.Message
func (*FriendRequestAcceptedMsgEvent) Reset ¶
func (x *FriendRequestAcceptedMsgEvent) Reset()
func (*FriendRequestAcceptedMsgEvent) String ¶
func (x *FriendRequestAcceptedMsgEvent) String() string
type FriendResponse ¶
type FriendResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result *User `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*FriendResponse) Descriptor
deprecated
func (*FriendResponse) Descriptor() ([]byte, []int)
Deprecated: Use FriendResponse.ProtoReflect.Descriptor instead.
func (*FriendResponse) GetCode ¶
func (x *FriendResponse) GetCode() int64
func (*FriendResponse) GetMessage ¶
func (x *FriendResponse) GetMessage() string
func (*FriendResponse) GetResult ¶
func (x *FriendResponse) GetResult() *User
func (*FriendResponse) GetStatus ¶
func (x *FriendResponse) GetStatus() string
func (*FriendResponse) ProtoMessage ¶
func (*FriendResponse) ProtoMessage()
func (*FriendResponse) ProtoReflect ¶
func (x *FriendResponse) ProtoReflect() protoreflect.Message
func (*FriendResponse) Reset ¶
func (x *FriendResponse) Reset()
func (*FriendResponse) String ¶
func (x *FriendResponse) String() string
type FriendsResponse ¶
type FriendsResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*User `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*FriendsResponse) Descriptor
deprecated
func (*FriendsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FriendsResponse.ProtoReflect.Descriptor instead.
func (*FriendsResponse) GetCode ¶
func (x *FriendsResponse) GetCode() int64
func (*FriendsResponse) GetMessage ¶
func (x *FriendsResponse) GetMessage() string
func (*FriendsResponse) GetResult ¶
func (x *FriendsResponse) GetResult() []*User
func (*FriendsResponse) GetStatus ¶
func (x *FriendsResponse) GetStatus() string
func (*FriendsResponse) ProtoMessage ¶
func (*FriendsResponse) ProtoMessage()
func (*FriendsResponse) ProtoReflect ¶
func (x *FriendsResponse) ProtoReflect() protoreflect.Message
func (*FriendsResponse) Reset ¶
func (x *FriendsResponse) Reset()
func (*FriendsResponse) String ¶
func (x *FriendsResponse) String() string
type GetFriendRequest ¶
type GetFriendRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetFriendRequest) Descriptor
deprecated
func (*GetFriendRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendRequest.ProtoReflect.Descriptor instead.
func (*GetFriendRequest) GetUser ¶
func (x *GetFriendRequest) GetUser() *User
func (*GetFriendRequest) ProtoMessage ¶
func (*GetFriendRequest) ProtoMessage()
func (*GetFriendRequest) ProtoReflect ¶
func (x *GetFriendRequest) ProtoReflect() protoreflect.Message
func (*GetFriendRequest) Reset ¶
func (x *GetFriendRequest) Reset()
func (*GetFriendRequest) String ¶
func (x *GetFriendRequest) String() string
type GetMessagesRequest ¶
type GetMessagesRequest struct { ReceiverId string `protobuf:"bytes,1,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesRequest) Descriptor
deprecated
func (*GetMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesRequest) GetAuthRequest ¶
func (x *GetMessagesRequest) GetAuthRequest() *AuthenticateRequest
func (*GetMessagesRequest) GetReceiverId ¶
func (x *GetMessagesRequest) GetReceiverId() string
func (*GetMessagesRequest) ProtoMessage ¶
func (*GetMessagesRequest) ProtoMessage()
func (*GetMessagesRequest) ProtoReflect ¶
func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetMessagesRequest) Reset ¶
func (x *GetMessagesRequest) Reset()
func (*GetMessagesRequest) String ¶
func (x *GetMessagesRequest) String() string
type GetMessagesResponse ¶
type GetMessagesResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Result []*Message `protobuf:"bytes,3,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesResponse) Descriptor
deprecated
func (*GetMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesResponse.ProtoReflect.Descriptor instead.
func (*GetMessagesResponse) GetCode ¶
func (x *GetMessagesResponse) GetCode() int64
func (*GetMessagesResponse) GetMessage ¶
func (x *GetMessagesResponse) GetMessage() string
func (*GetMessagesResponse) GetResult ¶
func (x *GetMessagesResponse) GetResult() []*Message
func (*GetMessagesResponse) GetStatus ¶
func (x *GetMessagesResponse) GetStatus() string
func (*GetMessagesResponse) ProtoMessage ¶
func (*GetMessagesResponse) ProtoMessage()
func (*GetMessagesResponse) ProtoReflect ¶
func (x *GetMessagesResponse) ProtoReflect() protoreflect.Message
func (*GetMessagesResponse) Reset ¶
func (x *GetMessagesResponse) Reset()
func (*GetMessagesResponse) String ¶
func (x *GetMessagesResponse) String() string
type GetTheaterRequest ¶
type GetTheaterRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` TheaterId string `protobuf:"bytes,3,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` // contains filtered or unexported fields }
func (*GetTheaterRequest) Descriptor
deprecated
func (*GetTheaterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTheaterRequest.ProtoReflect.Descriptor instead.
func (*GetTheaterRequest) GetAuthRequest ¶
func (x *GetTheaterRequest) GetAuthRequest() *AuthenticateRequest
func (*GetTheaterRequest) GetTheaterId ¶
func (x *GetTheaterRequest) GetTheaterId() string
func (*GetTheaterRequest) GetUser ¶
func (x *GetTheaterRequest) GetUser() string
func (*GetTheaterRequest) ProtoMessage ¶
func (*GetTheaterRequest) ProtoMessage()
func (*GetTheaterRequest) ProtoReflect ¶
func (x *GetTheaterRequest) ProtoReflect() protoreflect.Message
func (*GetTheaterRequest) Reset ¶
func (x *GetTheaterRequest) Reset()
func (*GetTheaterRequest) String ¶
func (x *GetTheaterRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result *User `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetCode ¶
func (x *GetUserResponse) GetCode() int64
func (*GetUserResponse) GetMessage ¶
func (x *GetUserResponse) GetMessage() string
func (*GetUserResponse) GetResult ¶
func (x *GetUserResponse) GetResult() *User
func (*GetUserResponse) GetStatus ¶
func (x *GetUserResponse) GetStatus() string
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type IceCandidate ¶ added in v0.0.4
type IceCandidate struct { Candidate string `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"` SdpMid string `protobuf:"bytes,2,opt,name=sdpMid,proto3" json:"sdpMid,omitempty"` SdpMLineIndex uint64 `protobuf:"varint,3,opt,name=sdpMLineIndex,proto3" json:"sdpMLineIndex,omitempty"` UsernameFragment string `protobuf:"bytes,4,opt,name=usernameFragment,proto3" json:"usernameFragment,omitempty"` // contains filtered or unexported fields }
func (*IceCandidate) Descriptor
deprecated
added in
v0.0.4
func (*IceCandidate) Descriptor() ([]byte, []int)
Deprecated: Use IceCandidate.ProtoReflect.Descriptor instead.
func (*IceCandidate) GetCandidate ¶ added in v0.0.4
func (x *IceCandidate) GetCandidate() string
func (*IceCandidate) GetSdpMLineIndex ¶ added in v0.0.4
func (x *IceCandidate) GetSdpMLineIndex() uint64
func (*IceCandidate) GetSdpMid ¶ added in v0.0.4
func (x *IceCandidate) GetSdpMid() string
func (*IceCandidate) GetUsernameFragment ¶ added in v0.0.4
func (x *IceCandidate) GetUsernameFragment() string
func (*IceCandidate) ProtoMessage ¶ added in v0.0.4
func (*IceCandidate) ProtoMessage()
func (*IceCandidate) ProtoReflect ¶ added in v0.0.4
func (x *IceCandidate) ProtoReflect() protoreflect.Message
func (*IceCandidate) Reset ¶ added in v0.0.4
func (x *IceCandidate) Reset()
func (*IceCandidate) String ¶ added in v0.0.4
func (x *IceCandidate) String() string
type InviteFriendsTheaterRequest ¶
type InviteFriendsTheaterRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` TheaterId string `protobuf:"bytes,2,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` FriendIds []string `protobuf:"bytes,3,rep,name=friend_ids,json=friendIds,proto3" json:"friend_ids,omitempty"` // contains filtered or unexported fields }
func (*InviteFriendsTheaterRequest) Descriptor
deprecated
func (*InviteFriendsTheaterRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteFriendsTheaterRequest.ProtoReflect.Descriptor instead.
func (*InviteFriendsTheaterRequest) GetAuthRequest ¶
func (x *InviteFriendsTheaterRequest) GetAuthRequest() *AuthenticateRequest
func (*InviteFriendsTheaterRequest) GetFriendIds ¶
func (x *InviteFriendsTheaterRequest) GetFriendIds() []string
func (*InviteFriendsTheaterRequest) GetTheaterId ¶
func (x *InviteFriendsTheaterRequest) GetTheaterId() string
func (*InviteFriendsTheaterRequest) ProtoMessage ¶
func (*InviteFriendsTheaterRequest) ProtoMessage()
func (*InviteFriendsTheaterRequest) ProtoReflect ¶
func (x *InviteFriendsTheaterRequest) ProtoReflect() protoreflect.Message
func (*InviteFriendsTheaterRequest) Reset ¶
func (x *InviteFriendsTheaterRequest) Reset()
func (*InviteFriendsTheaterRequest) String ¶
func (x *InviteFriendsTheaterRequest) String() string
type JoinTheaterMsgEvent ¶
type JoinTheaterMsgEvent struct { TheaterId string `protobuf:"bytes,1,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` // contains filtered or unexported fields }
func (*JoinTheaterMsgEvent) Descriptor
deprecated
func (*JoinTheaterMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use JoinTheaterMsgEvent.ProtoReflect.Descriptor instead.
func (*JoinTheaterMsgEvent) GetTheaterId ¶
func (x *JoinTheaterMsgEvent) GetTheaterId() string
func (*JoinTheaterMsgEvent) ProtoMessage ¶
func (*JoinTheaterMsgEvent) ProtoMessage()
func (*JoinTheaterMsgEvent) ProtoReflect ¶
func (x *JoinTheaterMsgEvent) ProtoReflect() protoreflect.Message
func (*JoinTheaterMsgEvent) Reset ¶
func (x *JoinTheaterMsgEvent) Reset()
func (*JoinTheaterMsgEvent) String ¶
func (x *JoinTheaterMsgEvent) String() string
type JoinVoiceChannel ¶ added in v0.0.4
type JoinVoiceChannel struct { TheaterId string `protobuf:"bytes,1,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` Sdp *SessionDescription `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` // contains filtered or unexported fields }
func (*JoinVoiceChannel) Descriptor
deprecated
added in
v0.0.4
func (*JoinVoiceChannel) Descriptor() ([]byte, []int)
Deprecated: Use JoinVoiceChannel.ProtoReflect.Descriptor instead.
func (*JoinVoiceChannel) GetSdp ¶ added in v0.0.4
func (x *JoinVoiceChannel) GetSdp() *SessionDescription
func (*JoinVoiceChannel) GetTheaterId ¶ added in v0.0.4
func (x *JoinVoiceChannel) GetTheaterId() string
func (*JoinVoiceChannel) ProtoMessage ¶ added in v0.0.4
func (*JoinVoiceChannel) ProtoMessage()
func (*JoinVoiceChannel) ProtoReflect ¶ added in v0.0.4
func (x *JoinVoiceChannel) ProtoReflect() protoreflect.Message
func (*JoinVoiceChannel) Reset ¶ added in v0.0.4
func (x *JoinVoiceChannel) Reset()
func (*JoinVoiceChannel) String ¶ added in v0.0.4
func (x *JoinVoiceChannel) String() string
type LeaveTheaterMsgEvent ¶
type LeaveTheaterMsgEvent struct { TheaterId string `protobuf:"bytes,1,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` // contains filtered or unexported fields }
func (*LeaveTheaterMsgEvent) Descriptor
deprecated
func (*LeaveTheaterMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use LeaveTheaterMsgEvent.ProtoReflect.Descriptor instead.
func (*LeaveTheaterMsgEvent) GetTheaterId ¶
func (x *LeaveTheaterMsgEvent) GetTheaterId() string
func (*LeaveTheaterMsgEvent) ProtoMessage ¶
func (*LeaveTheaterMsgEvent) ProtoMessage()
func (*LeaveTheaterMsgEvent) ProtoReflect ¶
func (x *LeaveTheaterMsgEvent) ProtoReflect() protoreflect.Message
func (*LeaveTheaterMsgEvent) Reset ¶
func (x *LeaveTheaterMsgEvent) Reset()
func (*LeaveTheaterMsgEvent) String ¶
func (x *LeaveTheaterMsgEvent) String() string
type LeaveVoiceChannel ¶ added in v0.0.4
type LeaveVoiceChannel struct { VoiceConnectionId string `protobuf:"bytes,1,opt,name=voice_connection_id,json=voiceConnectionId,proto3" json:"voice_connection_id,omitempty"` // contains filtered or unexported fields }
func (*LeaveVoiceChannel) Descriptor
deprecated
added in
v0.0.4
func (*LeaveVoiceChannel) Descriptor() ([]byte, []int)
Deprecated: Use LeaveVoiceChannel.ProtoReflect.Descriptor instead.
func (*LeaveVoiceChannel) GetVoiceConnectionId ¶ added in v0.0.4
func (x *LeaveVoiceChannel) GetVoiceConnectionId() string
func (*LeaveVoiceChannel) ProtoMessage ¶ added in v0.0.4
func (*LeaveVoiceChannel) ProtoMessage()
func (*LeaveVoiceChannel) ProtoReflect ¶ added in v0.0.4
func (x *LeaveVoiceChannel) ProtoReflect() protoreflect.Message
func (*LeaveVoiceChannel) Reset ¶ added in v0.0.4
func (x *LeaveVoiceChannel) Reset()
func (*LeaveVoiceChannel) String ¶ added in v0.0.4
func (x *LeaveVoiceChannel) String() string
type LogOnEvent ¶
type LogOnEvent struct { Username []byte `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password []byte `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Token []byte `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LogOnEvent) Descriptor
deprecated
func (*LogOnEvent) Descriptor() ([]byte, []int)
Deprecated: Use LogOnEvent.ProtoReflect.Descriptor instead.
func (*LogOnEvent) GetPassword ¶
func (x *LogOnEvent) GetPassword() []byte
func (*LogOnEvent) GetToken ¶
func (x *LogOnEvent) GetToken() []byte
func (*LogOnEvent) GetUsername ¶
func (x *LogOnEvent) GetUsername() []byte
func (*LogOnEvent) ProtoMessage ¶
func (*LogOnEvent) ProtoMessage()
func (*LogOnEvent) ProtoReflect ¶
func (x *LogOnEvent) ProtoReflect() protoreflect.Message
func (*LogOnEvent) Reset ¶
func (x *LogOnEvent) Reset()
func (*LogOnEvent) String ¶
func (x *LogOnEvent) String() string
type MediaSource ¶
type MediaSource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Type MediaSource_Type `protobuf:"varint,3,opt,name=type,proto3,enum=proto.MediaSource_Type" json:"type,omitempty"` Banner string `protobuf:"bytes,4,opt,name=banner,proto3" json:"banner,omitempty"` Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"` Subtitles []*Subtitle `protobuf:"bytes,6,rep,name=subtitles,proto3" json:"subtitles,omitempty"` UserId string `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Length int64 `protobuf:"varint,8,opt,name=length,proto3" json:"length,omitempty"` Artist string `protobuf:"bytes,9,opt,name=artist,proto3" json:"artist,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*MediaSource) Descriptor
deprecated
func (*MediaSource) Descriptor() ([]byte, []int)
Deprecated: Use MediaSource.ProtoReflect.Descriptor instead.
func (*MediaSource) GetArtist ¶
func (x *MediaSource) GetArtist() string
func (*MediaSource) GetBanner ¶
func (x *MediaSource) GetBanner() string
func (*MediaSource) GetCreatedAt ¶
func (x *MediaSource) GetCreatedAt() *timestamppb.Timestamp
func (*MediaSource) GetId ¶
func (x *MediaSource) GetId() string
func (*MediaSource) GetLength ¶
func (x *MediaSource) GetLength() int64
func (*MediaSource) GetSubtitles ¶
func (x *MediaSource) GetSubtitles() []*Subtitle
func (*MediaSource) GetTitle ¶
func (x *MediaSource) GetTitle() string
func (*MediaSource) GetType ¶
func (x *MediaSource) GetType() MediaSource_Type
func (*MediaSource) GetUpdatedAt ¶
func (x *MediaSource) GetUpdatedAt() *timestamppb.Timestamp
func (*MediaSource) GetUri ¶
func (x *MediaSource) GetUri() string
func (*MediaSource) GetUserId ¶
func (x *MediaSource) GetUserId() string
func (*MediaSource) ProtoMessage ¶
func (*MediaSource) ProtoMessage()
func (*MediaSource) ProtoReflect ¶
func (x *MediaSource) ProtoReflect() protoreflect.Message
func (*MediaSource) Reset ¶
func (x *MediaSource) Reset()
func (*MediaSource) String ¶
func (x *MediaSource) String() string
type MediaSourceAuthRequest ¶
type MediaSourceAuthRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` Media *MediaSource `protobuf:"bytes,2,opt,name=media,proto3" json:"media,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Page uint64 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` PerPage uint64 `protobuf:"varint,5,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` // contains filtered or unexported fields }
Start of MediaSource requests and responses
func (*MediaSourceAuthRequest) Descriptor
deprecated
func (*MediaSourceAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use MediaSourceAuthRequest.ProtoReflect.Descriptor instead.
func (*MediaSourceAuthRequest) GetAuthRequest ¶
func (x *MediaSourceAuthRequest) GetAuthRequest() *AuthenticateRequest
func (*MediaSourceAuthRequest) GetLimit ¶
func (x *MediaSourceAuthRequest) GetLimit() uint64
func (*MediaSourceAuthRequest) GetMedia ¶
func (x *MediaSourceAuthRequest) GetMedia() *MediaSource
func (*MediaSourceAuthRequest) GetPage ¶
func (x *MediaSourceAuthRequest) GetPage() uint64
func (*MediaSourceAuthRequest) GetPerPage ¶
func (x *MediaSourceAuthRequest) GetPerPage() uint64
func (*MediaSourceAuthRequest) ProtoMessage ¶
func (*MediaSourceAuthRequest) ProtoMessage()
func (*MediaSourceAuthRequest) ProtoReflect ¶
func (x *MediaSourceAuthRequest) ProtoReflect() protoreflect.Message
func (*MediaSourceAuthRequest) Reset ¶
func (x *MediaSourceAuthRequest) Reset()
func (*MediaSourceAuthRequest) String ¶
func (x *MediaSourceAuthRequest) String() string
type MediaSourceChangedEvent ¶
type MediaSourceChangedEvent struct { TheaterId string `protobuf:"bytes,1,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` MediaSourceId string `protobuf:"bytes,2,opt,name=media_source_id,json=mediaSourceId,proto3" json:"media_source_id,omitempty"` // contains filtered or unexported fields }
func (*MediaSourceChangedEvent) Descriptor
deprecated
func (*MediaSourceChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use MediaSourceChangedEvent.ProtoReflect.Descriptor instead.
func (*MediaSourceChangedEvent) GetMediaSourceId ¶
func (x *MediaSourceChangedEvent) GetMediaSourceId() string
func (*MediaSourceChangedEvent) GetTheaterId ¶
func (x *MediaSourceChangedEvent) GetTheaterId() string
func (*MediaSourceChangedEvent) ProtoMessage ¶
func (*MediaSourceChangedEvent) ProtoMessage()
func (*MediaSourceChangedEvent) ProtoReflect ¶
func (x *MediaSourceChangedEvent) ProtoReflect() protoreflect.Message
func (*MediaSourceChangedEvent) Reset ¶
func (x *MediaSourceChangedEvent) Reset()
func (*MediaSourceChangedEvent) String ¶
func (x *MediaSourceChangedEvent) String() string
type MediaSourceRemoveRequest ¶
type MediaSourceRemoveRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` MediaSourceId string `protobuf:"bytes,2,opt,name=media_source_id,json=mediaSourceId,proto3" json:"media_source_id,omitempty"` // contains filtered or unexported fields }
func (*MediaSourceRemoveRequest) Descriptor
deprecated
func (*MediaSourceRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MediaSourceRemoveRequest.ProtoReflect.Descriptor instead.
func (*MediaSourceRemoveRequest) GetAuthRequest ¶
func (x *MediaSourceRemoveRequest) GetAuthRequest() *AuthenticateRequest
func (*MediaSourceRemoveRequest) GetMediaSourceId ¶
func (x *MediaSourceRemoveRequest) GetMediaSourceId() string
func (*MediaSourceRemoveRequest) ProtoMessage ¶
func (*MediaSourceRemoveRequest) ProtoMessage()
func (*MediaSourceRemoveRequest) ProtoReflect ¶
func (x *MediaSourceRemoveRequest) ProtoReflect() protoreflect.Message
func (*MediaSourceRemoveRequest) Reset ¶
func (x *MediaSourceRemoveRequest) Reset()
func (*MediaSourceRemoveRequest) String ¶
func (x *MediaSourceRemoveRequest) String() string
type MediaSource_Type ¶
type MediaSource_Type int32
const ( MediaSource_UNKNOWN MediaSource_Type = 0 MediaSource_YOUTUBE MediaSource_Type = 1 MediaSource_TORRENT MediaSource_Type = 2 MediaSource_SOUND_CLOUD MediaSource_Type = 3 MediaSource_DOWNLOAD_URI MediaSource_Type = 4 MediaSource_LOCAL_PATH MediaSource_Type = 5 MediaSource_SPOTIFY MediaSource_Type = 6 MediaSource_M3U8 MediaSource_Type = 7 )
func (MediaSource_Type) Descriptor ¶
func (MediaSource_Type) Descriptor() protoreflect.EnumDescriptor
func (MediaSource_Type) Enum ¶
func (x MediaSource_Type) Enum() *MediaSource_Type
func (MediaSource_Type) EnumDescriptor
deprecated
func (MediaSource_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaSource_Type.Descriptor instead.
func (MediaSource_Type) Number ¶
func (x MediaSource_Type) Number() protoreflect.EnumNumber
func (MediaSource_Type) String ¶
func (x MediaSource_Type) String() string
func (MediaSource_Type) Type ¶
func (MediaSource_Type) Type() protoreflect.EnumType
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Sender *User `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` Receiver *User `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"` Edited bool `protobuf:"varint,5,opt,name=edited,proto3" json:"edited,omitempty"` Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"` Attachments []*Attachment `protobuf:"bytes,7,rep,name=attachments,proto3" json:"attachments,omitempty"` Emotes []*Emote `protobuf:"bytes,8,rep,name=emotes,proto3" json:"emotes,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetAttachments ¶
func (x *Message) GetAttachments() []*Attachment
func (*Message) GetContent ¶
func (*Message) GetCreatedAt ¶
func (x *Message) GetCreatedAt() *timestamppb.Timestamp
func (*Message) GetDeleted ¶
func (*Message) GetDeletedAt ¶
func (x *Message) GetDeletedAt() *timestamppb.Timestamp
func (*Message) GetReceiver ¶ added in v0.0.5
func (*Message) GetUpdatedAt ¶
func (x *Message) GetUpdatedAt() *timestamppb.Timestamp
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageRequest ¶
type MessageRequest struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*MessageRequest) Descriptor
deprecated
func (*MessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageRequest.ProtoReflect.Descriptor instead.
func (*MessageRequest) GetAuthRequest ¶
func (x *MessageRequest) GetAuthRequest() *AuthenticateRequest
func (*MessageRequest) GetMessage ¶
func (x *MessageRequest) GetMessage() *Message
func (*MessageRequest) ProtoMessage ¶
func (*MessageRequest) ProtoMessage()
func (*MessageRequest) ProtoReflect ¶
func (x *MessageRequest) ProtoReflect() protoreflect.Message
func (*MessageRequest) Reset ¶
func (x *MessageRequest) Reset()
func (*MessageRequest) String ¶
func (x *MessageRequest) String() string
type MessageResponse ¶
type MessageResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Result *Message `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*MessageResponse) Descriptor
deprecated
func (*MessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageResponse.ProtoReflect.Descriptor instead.
func (*MessageResponse) GetCode ¶
func (x *MessageResponse) GetCode() int64
func (*MessageResponse) GetMessage ¶
func (x *MessageResponse) GetMessage() string
func (*MessageResponse) GetResult ¶
func (x *MessageResponse) GetResult() *Message
func (*MessageResponse) GetStatus ¶
func (x *MessageResponse) GetStatus() string
func (*MessageResponse) ProtoMessage ¶
func (*MessageResponse) ProtoMessage()
func (*MessageResponse) ProtoReflect ¶
func (x *MessageResponse) ProtoReflect() protoreflect.Message
func (*MessageResponse) Reset ¶
func (x *MessageResponse) Reset()
func (*MessageResponse) String ¶
func (x *MessageResponse) String() string
type MessagesServiceClient ¶
type MessagesServiceClient interface { GetUserMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*GetMessagesResponse, error) CreateMessage(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageResponse, error) EditMessage(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageResponse, error) DeleteMessage(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageResponse, error) CreateAttachment(ctx context.Context, in *CreateAttachmentRequest, opts ...grpc.CallOption) (*AttachmentResponse, error) }
MessagesServiceClient is the client API for MessagesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMessagesServiceClient ¶
func NewMessagesServiceClient(cc grpc.ClientConnInterface) MessagesServiceClient
type MessagesServiceServer ¶
type MessagesServiceServer interface { GetUserMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error) CreateMessage(context.Context, *MessageRequest) (*MessageResponse, error) EditMessage(context.Context, *MessageRequest) (*MessageResponse, error) DeleteMessage(context.Context, *MessageRequest) (*MessageResponse, error) CreateAttachment(context.Context, *CreateAttachmentRequest) (*AttachmentResponse, error) // contains filtered or unexported methods }
MessagesServiceServer is the server API for MessagesService service. All implementations must embed UnimplementedMessagesServiceServer for forward compatibility
type MsgEvent ¶
type MsgEvent struct { Type EMSG `protobuf:"varint,1,opt,name=type,proto3,enum=proto.EMSG" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*MsgEvent) Descriptor
deprecated
func (*MsgEvent) GetCreatedAt ¶
func (x *MsgEvent) GetCreatedAt() *timestamppb.Timestamp
func (*MsgEvent) ProtoMessage ¶
func (*MsgEvent) ProtoMessage()
func (*MsgEvent) ProtoReflect ¶
func (x *MsgEvent) ProtoReflect() protoreflect.Message
type Notification ¶
type Notification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type Notification_NOTIFICATION_TYPE `protobuf:"varint,2,opt,name=type,proto3,enum=proto.Notification_NOTIFICATION_TYPE" json:"type,omitempty"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Read bool `protobuf:"varint,5,opt,name=read,proto3" json:"read,omitempty"` FromUserId string `protobuf:"bytes,6,opt,name=from_user_id,json=fromUserId,proto3" json:"from_user_id,omitempty"` FromUser *User `protobuf:"bytes,7,opt,name=from_user,json=fromUser,proto3" json:"from_user,omitempty"` ToUserId string `protobuf:"bytes,8,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` ToUser *User `protobuf:"bytes,9,opt,name=to_user,json=toUser,proto3" json:"to_user,omitempty"` ReadAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_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() *timestamppb.Timestamp
func (*Notification) GetData ¶
func (x *Notification) GetData() string
func (*Notification) GetFromUser ¶
func (x *Notification) GetFromUser() *User
func (*Notification) GetFromUserId ¶
func (x *Notification) GetFromUserId() string
func (*Notification) GetId ¶
func (x *Notification) GetId() string
func (*Notification) GetRead ¶
func (x *Notification) GetRead() bool
func (*Notification) GetReadAt ¶
func (x *Notification) GetReadAt() *timestamppb.Timestamp
func (*Notification) GetToUser ¶
func (x *Notification) GetToUser() *User
func (*Notification) GetToUserId ¶
func (x *Notification) GetToUserId() string
func (*Notification) GetType ¶
func (x *Notification) GetType() Notification_NOTIFICATION_TYPE
func (*Notification) GetUpdatedAt ¶
func (x *Notification) GetUpdatedAt() *timestamppb.Timestamp
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 NotificationMsgEvent ¶
type NotificationMsgEvent struct { Notification *Notification `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
func (*NotificationMsgEvent) Descriptor
deprecated
func (*NotificationMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use NotificationMsgEvent.ProtoReflect.Descriptor instead.
func (*NotificationMsgEvent) GetNotification ¶
func (x *NotificationMsgEvent) GetNotification() *Notification
func (*NotificationMsgEvent) ProtoMessage ¶
func (*NotificationMsgEvent) ProtoMessage()
func (*NotificationMsgEvent) ProtoReflect ¶
func (x *NotificationMsgEvent) ProtoReflect() protoreflect.Message
func (*NotificationMsgEvent) Reset ¶
func (x *NotificationMsgEvent) Reset()
func (*NotificationMsgEvent) String ¶
func (x *NotificationMsgEvent) String() string
type NotificationResponse ¶
type NotificationResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` UnreadCount int64 `protobuf:"varint,4,opt,name=unread_count,json=unreadCount,proto3" json:"unread_count,omitempty"` Result []*Notification `protobuf:"bytes,5,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*NotificationResponse) Descriptor
deprecated
func (*NotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationResponse.ProtoReflect.Descriptor instead.
func (*NotificationResponse) GetCode ¶
func (x *NotificationResponse) GetCode() int64
func (*NotificationResponse) GetMessage ¶
func (x *NotificationResponse) GetMessage() string
func (*NotificationResponse) GetResult ¶
func (x *NotificationResponse) GetResult() []*Notification
func (*NotificationResponse) GetStatus ¶
func (x *NotificationResponse) GetStatus() string
func (*NotificationResponse) GetUnreadCount ¶
func (x *NotificationResponse) GetUnreadCount() int64
func (*NotificationResponse) ProtoMessage ¶
func (*NotificationResponse) ProtoMessage()
func (*NotificationResponse) ProtoReflect ¶
func (x *NotificationResponse) ProtoReflect() protoreflect.Message
func (*NotificationResponse) Reset ¶
func (x *NotificationResponse) Reset()
func (*NotificationResponse) String ¶
func (x *NotificationResponse) String() string
type Notification_NOTIFICATION_TYPE ¶
type Notification_NOTIFICATION_TYPE int32
const ( Notification_INVALID Notification_NOTIFICATION_TYPE = 0 Notification_NEW_FRIEND Notification_NOTIFICATION_TYPE = 1 Notification_NEW_THEATER_INVITE Notification_NOTIFICATION_TYPE = 2 Notification_SYSTEM_NOTIFY Notification_NOTIFICATION_TYPE = 3 )
func (Notification_NOTIFICATION_TYPE) Descriptor ¶
func (Notification_NOTIFICATION_TYPE) Descriptor() protoreflect.EnumDescriptor
func (Notification_NOTIFICATION_TYPE) Enum ¶
func (x Notification_NOTIFICATION_TYPE) Enum() *Notification_NOTIFICATION_TYPE
func (Notification_NOTIFICATION_TYPE) EnumDescriptor
deprecated
func (Notification_NOTIFICATION_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use Notification_NOTIFICATION_TYPE.Descriptor instead.
func (Notification_NOTIFICATION_TYPE) Number ¶
func (x Notification_NOTIFICATION_TYPE) Number() protoreflect.EnumNumber
func (Notification_NOTIFICATION_TYPE) String ¶
func (x Notification_NOTIFICATION_TYPE) String() string
func (Notification_NOTIFICATION_TYPE) Type ¶
func (Notification_NOTIFICATION_TYPE) Type() protoreflect.EnumType
type OAUTHRequest ¶
type OAUTHRequest struct { Service Connection_Type `protobuf:"varint,1,opt,name=service,proto3,enum=proto.Connection_Type" json:"service,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,3,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*OAUTHRequest) Descriptor
deprecated
func (*OAUTHRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAUTHRequest.ProtoReflect.Descriptor instead.
func (*OAUTHRequest) GetAuthRequest ¶
func (x *OAUTHRequest) GetAuthRequest() *AuthenticateRequest
func (*OAUTHRequest) GetCode ¶
func (x *OAUTHRequest) GetCode() string
func (*OAUTHRequest) GetService ¶
func (x *OAUTHRequest) GetService() Connection_Type
func (*OAUTHRequest) ProtoMessage ¶
func (*OAUTHRequest) ProtoMessage()
func (*OAUTHRequest) ProtoReflect ¶
func (x *OAUTHRequest) ProtoReflect() protoreflect.Message
func (*OAUTHRequest) Reset ¶
func (x *OAUTHRequest) Reset()
func (*OAUTHRequest) String ¶
func (x *OAUTHRequest) String() string
type PERSONAL_STATE ¶
type PERSONAL_STATE int32
const ( PERSONAL_STATE_OFFLINE PERSONAL_STATE = 0 PERSONAL_STATE_ONLINE PERSONAL_STATE = 1 PERSONAL_STATE_IDLE PERSONAL_STATE = 2 PERSONAL_STATE_BUSY PERSONAL_STATE = 3 PERSONAL_STATE_INVISIBLE PERSONAL_STATE = 4 )
func (PERSONAL_STATE) Descriptor ¶
func (PERSONAL_STATE) Descriptor() protoreflect.EnumDescriptor
func (PERSONAL_STATE) Enum ¶
func (x PERSONAL_STATE) Enum() *PERSONAL_STATE
func (PERSONAL_STATE) EnumDescriptor
deprecated
func (PERSONAL_STATE) EnumDescriptor() ([]byte, []int)
Deprecated: Use PERSONAL_STATE.Descriptor instead.
func (PERSONAL_STATE) Number ¶
func (x PERSONAL_STATE) Number() protoreflect.EnumNumber
func (PERSONAL_STATE) String ¶
func (x PERSONAL_STATE) String() string
func (PERSONAL_STATE) Type ¶
func (PERSONAL_STATE) Type() protoreflect.EnumType
type PRIVACY ¶
type PRIVACY int32
func (PRIVACY) Descriptor ¶
func (PRIVACY) Descriptor() protoreflect.EnumDescriptor
func (PRIVACY) EnumDescriptor
deprecated
func (PRIVACY) Number ¶
func (x PRIVACY) Number() protoreflect.EnumNumber
func (PRIVACY) Type ¶
func (PRIVACY) Type() protoreflect.EnumType
type PendingFriendRequests ¶
type PendingFriendRequests struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*FriendRequest `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*PendingFriendRequests) Descriptor
deprecated
func (*PendingFriendRequests) Descriptor() ([]byte, []int)
Deprecated: Use PendingFriendRequests.ProtoReflect.Descriptor instead.
func (*PendingFriendRequests) GetCode ¶
func (x *PendingFriendRequests) GetCode() int64
func (*PendingFriendRequests) GetMessage ¶
func (x *PendingFriendRequests) GetMessage() string
func (*PendingFriendRequests) GetResult ¶
func (x *PendingFriendRequests) GetResult() []*FriendRequest
func (*PendingFriendRequests) GetStatus ¶
func (x *PendingFriendRequests) GetStatus() string
func (*PendingFriendRequests) ProtoMessage ¶
func (*PendingFriendRequests) ProtoMessage()
func (*PendingFriendRequests) ProtoReflect ¶
func (x *PendingFriendRequests) ProtoReflect() protoreflect.Message
func (*PendingFriendRequests) Reset ¶
func (x *PendingFriendRequests) Reset()
func (*PendingFriendRequests) String ¶
func (x *PendingFriendRequests) String() string
type PersonalActivityMsgEvent ¶
type PersonalActivityMsgEvent struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Activity *Activity `protobuf:"bytes,2,opt,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*PersonalActivityMsgEvent) Descriptor
deprecated
func (*PersonalActivityMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use PersonalActivityMsgEvent.ProtoReflect.Descriptor instead.
func (*PersonalActivityMsgEvent) GetActivity ¶
func (x *PersonalActivityMsgEvent) GetActivity() *Activity
func (*PersonalActivityMsgEvent) GetUser ¶
func (x *PersonalActivityMsgEvent) GetUser() *User
func (*PersonalActivityMsgEvent) ProtoMessage ¶
func (*PersonalActivityMsgEvent) ProtoMessage()
func (*PersonalActivityMsgEvent) ProtoReflect ¶
func (x *PersonalActivityMsgEvent) ProtoReflect() protoreflect.Message
func (*PersonalActivityMsgEvent) Reset ¶
func (x *PersonalActivityMsgEvent) Reset()
func (*PersonalActivityMsgEvent) String ¶
func (x *PersonalActivityMsgEvent) String() string
type PersonalStateMsgEvent ¶
type PersonalStateMsgEvent struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` State PERSONAL_STATE `protobuf:"varint,2,opt,name=state,proto3,enum=proto.PERSONAL_STATE" json:"state,omitempty"` Activity *Activity `protobuf:"bytes,3,opt,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*PersonalStateMsgEvent) Descriptor
deprecated
func (*PersonalStateMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use PersonalStateMsgEvent.ProtoReflect.Descriptor instead.
func (*PersonalStateMsgEvent) GetActivity ¶
func (x *PersonalStateMsgEvent) GetActivity() *Activity
func (*PersonalStateMsgEvent) GetState ¶
func (x *PersonalStateMsgEvent) GetState() PERSONAL_STATE
func (*PersonalStateMsgEvent) GetUser ¶
func (x *PersonalStateMsgEvent) GetUser() *User
func (*PersonalStateMsgEvent) ProtoMessage ¶
func (*PersonalStateMsgEvent) ProtoMessage()
func (*PersonalStateMsgEvent) ProtoReflect ¶
func (x *PersonalStateMsgEvent) ProtoReflect() protoreflect.Message
func (*PersonalStateMsgEvent) Reset ¶
func (x *PersonalStateMsgEvent) Reset()
func (*PersonalStateMsgEvent) String ¶
func (x *PersonalStateMsgEvent) String() string
type PingMsgEvent ¶
type PingMsgEvent struct { State PERSONAL_STATE `protobuf:"varint,1,opt,name=state,proto3,enum=proto.PERSONAL_STATE" json:"state,omitempty"` // contains filtered or unexported fields }
func (*PingMsgEvent) Descriptor
deprecated
func (*PingMsgEvent) Descriptor() ([]byte, []int)
Deprecated: Use PingMsgEvent.ProtoReflect.Descriptor instead.
func (*PingMsgEvent) GetState ¶
func (x *PingMsgEvent) GetState() PERSONAL_STATE
func (*PingMsgEvent) ProtoMessage ¶
func (*PingMsgEvent) ProtoMessage()
func (*PingMsgEvent) ProtoReflect ¶
func (x *PingMsgEvent) ProtoReflect() protoreflect.Message
func (*PingMsgEvent) Reset ¶
func (x *PingMsgEvent) Reset()
func (*PingMsgEvent) String ¶
func (x *PingMsgEvent) String() string
type RecoveryCode ¶
type RecoveryCode struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
start of two factor authentication messages
func (*RecoveryCode) Descriptor
deprecated
func (*RecoveryCode) Descriptor() ([]byte, []int)
Deprecated: Use RecoveryCode.ProtoReflect.Descriptor instead.
func (*RecoveryCode) GetCode ¶
func (x *RecoveryCode) GetCode() string
func (*RecoveryCode) GetCreatedAt ¶
func (x *RecoveryCode) GetCreatedAt() *timestamppb.Timestamp
func (*RecoveryCode) GetId ¶
func (x *RecoveryCode) GetId() string
func (*RecoveryCode) GetUserId ¶
func (x *RecoveryCode) GetUserId() string
func (*RecoveryCode) ProtoMessage ¶
func (*RecoveryCode) ProtoMessage()
func (*RecoveryCode) ProtoReflect ¶
func (x *RecoveryCode) ProtoReflect() protoreflect.Message
func (*RecoveryCode) Reset ¶
func (x *RecoveryCode) Reset()
func (*RecoveryCode) String ¶
func (x *RecoveryCode) String() string
type RecoveryCodesResponse ¶
type RecoveryCodesResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*RecoveryCode `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RecoveryCodesResponse) Descriptor
deprecated
func (*RecoveryCodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecoveryCodesResponse.ProtoReflect.Descriptor instead.
func (*RecoveryCodesResponse) GetCode ¶
func (x *RecoveryCodesResponse) GetCode() int64
func (*RecoveryCodesResponse) GetMessage ¶
func (x *RecoveryCodesResponse) GetMessage() string
func (*RecoveryCodesResponse) GetResult ¶
func (x *RecoveryCodesResponse) GetResult() []*RecoveryCode
func (*RecoveryCodesResponse) GetStatus ¶
func (x *RecoveryCodesResponse) GetStatus() string
func (*RecoveryCodesResponse) ProtoMessage ¶
func (*RecoveryCodesResponse) ProtoMessage()
func (*RecoveryCodesResponse) ProtoReflect ¶
func (x *RecoveryCodesResponse) ProtoReflect() protoreflect.Message
func (*RecoveryCodesResponse) Reset ¶
func (x *RecoveryCodesResponse) Reset()
func (*RecoveryCodesResponse) String ¶
func (x *RecoveryCodesResponse) String() string
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { RefreshedToken []byte `protobuf:"bytes,1,opt,name=refreshed_token,json=refreshedToken,proto3" json:"refreshed_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) GetRefreshedToken ¶
func (x *RefreshTokenRequest) GetRefreshedToken() []byte
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (x *RefreshTokenRequest) String() string
type RemoveSubtitleRequest ¶
type RemoveSubtitleRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` SubtitleId string `protobuf:"bytes,2,opt,name=subtitle_id,json=subtitleId,proto3" json:"subtitle_id,omitempty"` MediaSourceId string `protobuf:"bytes,3,opt,name=media_source_id,json=mediaSourceId,proto3" json:"media_source_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveSubtitleRequest) Descriptor
deprecated
func (*RemoveSubtitleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSubtitleRequest.ProtoReflect.Descriptor instead.
func (*RemoveSubtitleRequest) GetAuthRequest ¶
func (x *RemoveSubtitleRequest) GetAuthRequest() *AuthenticateRequest
func (*RemoveSubtitleRequest) GetMediaSourceId ¶
func (x *RemoveSubtitleRequest) GetMediaSourceId() string
func (*RemoveSubtitleRequest) GetSubtitleId ¶
func (x *RemoveSubtitleRequest) GetSubtitleId() string
func (*RemoveSubtitleRequest) ProtoMessage ¶
func (*RemoveSubtitleRequest) ProtoMessage()
func (*RemoveSubtitleRequest) ProtoReflect ¶
func (x *RemoveSubtitleRequest) ProtoReflect() protoreflect.Message
func (*RemoveSubtitleRequest) Reset ¶
func (x *RemoveSubtitleRequest) Reset()
func (*RemoveSubtitleRequest) String ¶
func (x *RemoveSubtitleRequest) String() string
type Renegotiation ¶ added in v0.0.4
type Renegotiation struct { VoiceConnectionId string `protobuf:"bytes,1,opt,name=voice_connection_id,json=voiceConnectionId,proto3" json:"voice_connection_id,omitempty"` Sdp *SessionDescription `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` // contains filtered or unexported fields }
func (*Renegotiation) Descriptor
deprecated
added in
v0.0.4
func (*Renegotiation) Descriptor() ([]byte, []int)
Deprecated: Use Renegotiation.ProtoReflect.Descriptor instead.
func (*Renegotiation) GetSdp ¶ added in v0.0.4
func (x *Renegotiation) GetSdp() *SessionDescription
func (*Renegotiation) GetVoiceConnectionId ¶ added in v0.0.4
func (x *Renegotiation) GetVoiceConnectionId() string
func (*Renegotiation) ProtoMessage ¶ added in v0.0.4
func (*Renegotiation) ProtoMessage()
func (*Renegotiation) ProtoReflect ¶ added in v0.0.4
func (x *Renegotiation) ProtoReflect() protoreflect.Message
func (*Renegotiation) Reset ¶ added in v0.0.4
func (x *Renegotiation) Reset()
func (*Renegotiation) String ¶ added in v0.0.4
func (x *Renegotiation) String() string
type Response ¶
type Response struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Result []byte `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type SearchUserRequest ¶
type SearchUserRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*SearchUserRequest) Descriptor
deprecated
func (*SearchUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
func (*SearchUserRequest) GetAuthRequest ¶
func (x *SearchUserRequest) GetAuthRequest() *AuthenticateRequest
func (*SearchUserRequest) GetKeyword ¶
func (x *SearchUserRequest) GetKeyword() string
func (*SearchUserRequest) ProtoMessage ¶
func (*SearchUserRequest) ProtoMessage()
func (*SearchUserRequest) ProtoReflect ¶
func (x *SearchUserRequest) ProtoReflect() protoreflect.Message
func (*SearchUserRequest) Reset ¶
func (x *SearchUserRequest) Reset()
func (*SearchUserRequest) String ¶
func (x *SearchUserRequest) String() string
type SearchUserResponse ¶
type SearchUserResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*User `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SearchUserResponse) Descriptor
deprecated
func (*SearchUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
func (*SearchUserResponse) GetCode ¶
func (x *SearchUserResponse) GetCode() int64
func (*SearchUserResponse) GetMessage ¶
func (x *SearchUserResponse) GetMessage() string
func (*SearchUserResponse) GetResult ¶
func (x *SearchUserResponse) GetResult() []*User
func (*SearchUserResponse) GetStatus ¶
func (x *SearchUserResponse) GetStatus() string
func (*SearchUserResponse) ProtoMessage ¶
func (*SearchUserResponse) ProtoMessage()
func (*SearchUserResponse) ProtoReflect ¶
func (x *SearchUserResponse) ProtoReflect() protoreflect.Message
func (*SearchUserResponse) Reset ¶
func (x *SearchUserResponse) Reset()
func (*SearchUserResponse) String ¶
func (x *SearchUserResponse) String() string
type SessionDescription ¶ added in v0.0.4
type SessionDescription struct { Type SessionDescription_TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=proto.SessionDescription_TYPE" json:"type,omitempty"` Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` // contains filtered or unexported fields }
func (*SessionDescription) Descriptor
deprecated
added in
v0.0.4
func (*SessionDescription) Descriptor() ([]byte, []int)
Deprecated: Use SessionDescription.ProtoReflect.Descriptor instead.
func (*SessionDescription) GetSdp ¶ added in v0.0.4
func (x *SessionDescription) GetSdp() string
func (*SessionDescription) GetType ¶ added in v0.0.4
func (x *SessionDescription) GetType() SessionDescription_TYPE
func (*SessionDescription) ProtoMessage ¶ added in v0.0.4
func (*SessionDescription) ProtoMessage()
func (*SessionDescription) ProtoReflect ¶ added in v0.0.4
func (x *SessionDescription) ProtoReflect() protoreflect.Message
func (*SessionDescription) Reset ¶ added in v0.0.4
func (x *SessionDescription) Reset()
func (*SessionDescription) String ¶ added in v0.0.4
func (x *SessionDescription) String() string
type SessionDescription_TYPE ¶ added in v0.0.4
type SessionDescription_TYPE int32
const ( // Invalid type session description SessionDescription_SDPInvalid SessionDescription_TYPE = 0 // SDPTypeOffer indicates that a description MUST be treated as an SDP // offer. SessionDescription_SDPTypeOffer SessionDescription_TYPE = 1 // SDPTypePranswer indicates that a description MUST be treated as an // SDP answer, but not a final answer. A description used as an SDP // pranswer may be applied as a response to an SDP offer, or an update to // a previously sent SDP pranswer. SessionDescription_SDPTypePranswer SessionDescription_TYPE = 2 // SDPTypeAnswer indicates that a description MUST be treated as an SDP // final answer, and the offer-answer exchange MUST be considered complete. // A description used as an SDP answer may be applied as a response to an // SDP offer or as an update to a previously sent SDP pranswer. SessionDescription_SDPTypeAnswer SessionDescription_TYPE = 3 // SDPTypeRollback indicates that a description MUST be treated as // canceling the current SDP negotiation and moving the SDP offer and // answer back to what it was in the previous stable state. Note the // local or remote SDP descriptions in the previous stable state could be // null if there has not yet been a successful offer-answer negotiation. SessionDescription_SDPTypeRollback SessionDescription_TYPE = 4 )
func (SessionDescription_TYPE) Descriptor ¶ added in v0.0.4
func (SessionDescription_TYPE) Descriptor() protoreflect.EnumDescriptor
func (SessionDescription_TYPE) Enum ¶ added in v0.0.4
func (x SessionDescription_TYPE) Enum() *SessionDescription_TYPE
func (SessionDescription_TYPE) EnumDescriptor
deprecated
added in
v0.0.4
func (SessionDescription_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionDescription_TYPE.Descriptor instead.
func (SessionDescription_TYPE) Number ¶ added in v0.0.4
func (x SessionDescription_TYPE) Number() protoreflect.EnumNumber
func (SessionDescription_TYPE) String ¶ added in v0.0.4
func (x SessionDescription_TYPE) String() string
func (SessionDescription_TYPE) Type ¶ added in v0.0.4
func (SessionDescription_TYPE) Type() protoreflect.EnumType
type Subtitle ¶
type Subtitle struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` MediaSourceId string `protobuf:"bytes,2,opt,name=media_source_id,json=mediaSourceId,proto3" json:"media_source_id,omitempty"` Lang string `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"` File string `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Subtitle) Descriptor
deprecated
func (*Subtitle) GetCreatedAt ¶
func (x *Subtitle) GetCreatedAt() *timestamppb.Timestamp
func (*Subtitle) GetMediaSourceId ¶
func (*Subtitle) GetUpdatedAt ¶
func (x *Subtitle) GetUpdatedAt() *timestamppb.Timestamp
func (*Subtitle) ProtoMessage ¶
func (*Subtitle) ProtoMessage()
func (*Subtitle) ProtoReflect ¶
func (x *Subtitle) ProtoReflect() protoreflect.Message
type SubtitlesResponse ¶
type SubtitlesResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*Subtitle `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SubtitlesResponse) Descriptor
deprecated
func (*SubtitlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubtitlesResponse.ProtoReflect.Descriptor instead.
func (*SubtitlesResponse) GetCode ¶
func (x *SubtitlesResponse) GetCode() int64
func (*SubtitlesResponse) GetMessage ¶
func (x *SubtitlesResponse) GetMessage() string
func (*SubtitlesResponse) GetResult ¶
func (x *SubtitlesResponse) GetResult() []*Subtitle
func (*SubtitlesResponse) GetStatus ¶
func (x *SubtitlesResponse) GetStatus() string
func (*SubtitlesResponse) ProtoMessage ¶
func (*SubtitlesResponse) ProtoMessage()
func (*SubtitlesResponse) ProtoReflect ¶
func (x *SubtitlesResponse) ProtoReflect() protoreflect.Message
func (*SubtitlesResponse) Reset ¶
func (x *SubtitlesResponse) Reset()
func (*SubtitlesResponse) String ¶
func (x *SubtitlesResponse) String() string
type Theater ¶
type Theater struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Privacy PRIVACY `protobuf:"varint,4,opt,name=privacy,proto3,enum=proto.PRIVACY" json:"privacy,omitempty"` VideoPlayerAccess VIDEO_PLAYER_ACCESS `` /* 146-byte string literal not displayed */ UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *User `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"` MediaSource *MediaSource `protobuf:"bytes,8,opt,name=media_source,json=mediaSource,proto3" json:"media_source,omitempty"` Followed bool `protobuf:"varint,9,opt,name=followed,proto3" json:"followed,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Theater) Descriptor
deprecated
func (*Theater) GetCreatedAt ¶
func (x *Theater) GetCreatedAt() *timestamppb.Timestamp
func (*Theater) GetDescription ¶
func (*Theater) GetFollowed ¶
func (*Theater) GetMediaSource ¶
func (x *Theater) GetMediaSource() *MediaSource
func (*Theater) GetPrivacy ¶
func (*Theater) GetUpdatedAt ¶
func (x *Theater) GetUpdatedAt() *timestamppb.Timestamp
func (*Theater) GetVideoPlayerAccess ¶
func (x *Theater) GetVideoPlayerAccess() VIDEO_PLAYER_ACCESS
func (*Theater) ProtoMessage ¶
func (*Theater) ProtoMessage()
func (*Theater) ProtoReflect ¶
func (x *Theater) ProtoReflect() protoreflect.Message
type TheaterAuthRequest ¶
type TheaterAuthRequest struct { Theater *Theater `protobuf:"bytes,1,opt,name=theater,proto3" json:"theater,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*TheaterAuthRequest) Descriptor
deprecated
func (*TheaterAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use TheaterAuthRequest.ProtoReflect.Descriptor instead.
func (*TheaterAuthRequest) GetAuthRequest ¶
func (x *TheaterAuthRequest) GetAuthRequest() *AuthenticateRequest
func (*TheaterAuthRequest) GetTheater ¶
func (x *TheaterAuthRequest) GetTheater() *Theater
func (*TheaterAuthRequest) ProtoMessage ¶
func (*TheaterAuthRequest) ProtoMessage()
func (*TheaterAuthRequest) ProtoReflect ¶
func (x *TheaterAuthRequest) ProtoReflect() protoreflect.Message
func (*TheaterAuthRequest) Reset ¶
func (x *TheaterAuthRequest) Reset()
func (*TheaterAuthRequest) String ¶
func (x *TheaterAuthRequest) String() string
type TheaterLogOnEvent ¶
type TheaterLogOnEvent struct { Room []byte `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Token []byte `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*TheaterLogOnEvent) Descriptor
deprecated
func (*TheaterLogOnEvent) Descriptor() ([]byte, []int)
Deprecated: Use TheaterLogOnEvent.ProtoReflect.Descriptor instead.
func (*TheaterLogOnEvent) GetRoom ¶
func (x *TheaterLogOnEvent) GetRoom() []byte
func (*TheaterLogOnEvent) GetToken ¶
func (x *TheaterLogOnEvent) GetToken() []byte
func (*TheaterLogOnEvent) ProtoMessage ¶
func (*TheaterLogOnEvent) ProtoMessage()
func (*TheaterLogOnEvent) ProtoReflect ¶
func (x *TheaterLogOnEvent) ProtoReflect() protoreflect.Message
func (*TheaterLogOnEvent) Reset ¶
func (x *TheaterLogOnEvent) Reset()
func (*TheaterLogOnEvent) String ¶
func (x *TheaterLogOnEvent) String() string
type TheaterMediaSourcesResponse ¶
type TheaterMediaSourcesResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*MediaSource `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*TheaterMediaSourcesResponse) Descriptor
deprecated
func (*TheaterMediaSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TheaterMediaSourcesResponse.ProtoReflect.Descriptor instead.
func (*TheaterMediaSourcesResponse) GetCode ¶
func (x *TheaterMediaSourcesResponse) GetCode() int64
func (*TheaterMediaSourcesResponse) GetMessage ¶
func (x *TheaterMediaSourcesResponse) GetMessage() string
func (*TheaterMediaSourcesResponse) GetResult ¶
func (x *TheaterMediaSourcesResponse) GetResult() []*MediaSource
func (*TheaterMediaSourcesResponse) GetStatus ¶
func (x *TheaterMediaSourcesResponse) GetStatus() string
func (*TheaterMediaSourcesResponse) ProtoMessage ¶
func (*TheaterMediaSourcesResponse) ProtoMessage()
func (*TheaterMediaSourcesResponse) ProtoReflect ¶
func (x *TheaterMediaSourcesResponse) ProtoReflect() protoreflect.Message
func (*TheaterMediaSourcesResponse) Reset ¶
func (x *TheaterMediaSourcesResponse) Reset()
func (*TheaterMediaSourcesResponse) String ¶
func (x *TheaterMediaSourcesResponse) String() string
type TheaterMembers ¶
type TheaterMembers struct { Members []*User `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*TheaterMembers) Descriptor
deprecated
func (*TheaterMembers) Descriptor() ([]byte, []int)
Deprecated: Use TheaterMembers.ProtoReflect.Descriptor instead.
func (*TheaterMembers) GetMembers ¶
func (x *TheaterMembers) GetMembers() []*User
func (*TheaterMembers) ProtoMessage ¶
func (*TheaterMembers) ProtoMessage()
func (*TheaterMembers) ProtoReflect ¶
func (x *TheaterMembers) ProtoReflect() protoreflect.Message
func (*TheaterMembers) Reset ¶
func (x *TheaterMembers) Reset()
func (*TheaterMembers) String ¶
func (x *TheaterMembers) String() string
type TheaterRole ¶
type TheaterRole struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TheaterId string `protobuf:"bytes,2,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*TheaterRole) Descriptor
deprecated
func (*TheaterRole) Descriptor() ([]byte, []int)
Deprecated: Use TheaterRole.ProtoReflect.Descriptor instead.
func (*TheaterRole) GetId ¶
func (x *TheaterRole) GetId() string
func (*TheaterRole) GetTheaterId ¶
func (x *TheaterRole) GetTheaterId() string
func (*TheaterRole) GetTitle ¶
func (x *TheaterRole) GetTitle() string
func (*TheaterRole) ProtoMessage ¶
func (*TheaterRole) ProtoMessage()
func (*TheaterRole) ProtoReflect ¶
func (x *TheaterRole) ProtoReflect() protoreflect.Message
func (*TheaterRole) Reset ¶
func (x *TheaterRole) Reset()
func (*TheaterRole) String ¶
func (x *TheaterRole) String() string
type TheaterServiceClient ¶
type TheaterServiceClient interface { Invite(ctx context.Context, in *InviteFriendsTheaterRequest, opts ...grpc.CallOption) (*Response, error) GetFollowedTheaters(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*FollowedTheatersResponse, error) Follow(ctx context.Context, in *TheaterAuthRequest, opts ...grpc.CallOption) (*Response, error) Unfollow(ctx context.Context, in *TheaterAuthRequest, opts ...grpc.CallOption) (*Response, error) GetTheater(ctx context.Context, in *GetTheaterRequest, opts ...grpc.CallOption) (*UserTheaterResponse, error) UpdateTheater(ctx context.Context, in *TheaterAuthRequest, opts ...grpc.CallOption) (*Response, error) AddSubtitles(ctx context.Context, in *AddSubtitlesRequest, opts ...grpc.CallOption) (*SubtitlesResponse, error) RemoveSubtitle(ctx context.Context, in *RemoveSubtitleRequest, opts ...grpc.CallOption) (*Response, error) GetSubtitles(ctx context.Context, in *MediaSourceAuthRequest, opts ...grpc.CallOption) (*TheaterSubtitlesResponse, error) GetMediaSources(ctx context.Context, in *MediaSourceAuthRequest, opts ...grpc.CallOption) (*TheaterMediaSourcesResponse, error) GetMediaSource(ctx context.Context, in *MediaSourceAuthRequest, opts ...grpc.CallOption) (*TheaterMediaSourcesResponse, error) SelectMediaSource(ctx context.Context, in *MediaSourceAuthRequest, opts ...grpc.CallOption) (*TheaterMediaSourcesResponse, error) RemoveMediaSource(ctx context.Context, in *MediaSourceRemoveRequest, opts ...grpc.CallOption) (*Response, error) AddMediaSource(ctx context.Context, in *MediaSourceAuthRequest, opts ...grpc.CallOption) (*TheaterMediaSourcesResponse, error) }
TheaterServiceClient is the client API for TheaterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTheaterServiceClient ¶
func NewTheaterServiceClient(cc grpc.ClientConnInterface) TheaterServiceClient
type TheaterServiceServer ¶
type TheaterServiceServer interface { Invite(context.Context, *InviteFriendsTheaterRequest) (*Response, error) GetFollowedTheaters(context.Context, *AuthenticateRequest) (*FollowedTheatersResponse, error) Follow(context.Context, *TheaterAuthRequest) (*Response, error) Unfollow(context.Context, *TheaterAuthRequest) (*Response, error) GetTheater(context.Context, *GetTheaterRequest) (*UserTheaterResponse, error) UpdateTheater(context.Context, *TheaterAuthRequest) (*Response, error) AddSubtitles(context.Context, *AddSubtitlesRequest) (*SubtitlesResponse, error) RemoveSubtitle(context.Context, *RemoveSubtitleRequest) (*Response, error) GetSubtitles(context.Context, *MediaSourceAuthRequest) (*TheaterSubtitlesResponse, error) GetMediaSources(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error) GetMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error) SelectMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error) RemoveMediaSource(context.Context, *MediaSourceRemoveRequest) (*Response, error) AddMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error) // contains filtered or unexported methods }
TheaterServiceServer is the server API for TheaterService service. All implementations must embed UnimplementedTheaterServiceServer for forward compatibility
type TheaterSubtitlesResponse ¶
type TheaterSubtitlesResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*Subtitle `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*TheaterSubtitlesResponse) Descriptor
deprecated
func (*TheaterSubtitlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TheaterSubtitlesResponse.ProtoReflect.Descriptor instead.
func (*TheaterSubtitlesResponse) GetCode ¶
func (x *TheaterSubtitlesResponse) GetCode() int64
func (*TheaterSubtitlesResponse) GetMessage ¶
func (x *TheaterSubtitlesResponse) GetMessage() string
func (*TheaterSubtitlesResponse) GetResult ¶
func (x *TheaterSubtitlesResponse) GetResult() []*Subtitle
func (*TheaterSubtitlesResponse) GetStatus ¶
func (x *TheaterSubtitlesResponse) GetStatus() string
func (*TheaterSubtitlesResponse) ProtoMessage ¶
func (*TheaterSubtitlesResponse) ProtoMessage()
func (*TheaterSubtitlesResponse) ProtoReflect ¶
func (x *TheaterSubtitlesResponse) ProtoReflect() protoreflect.Message
func (*TheaterSubtitlesResponse) Reset ¶
func (x *TheaterSubtitlesResponse) Reset()
func (*TheaterSubtitlesResponse) String ¶
func (x *TheaterSubtitlesResponse) String() string
type TheaterVideoPlayer ¶
type TheaterVideoPlayer struct { TheaterId string `protobuf:"bytes,1,opt,name=theater_id,json=theaterId,proto3" json:"theater_id,omitempty"` MediaSource *MediaSource `protobuf:"bytes,2,opt,name=media_source,json=mediaSource,proto3" json:"media_source,omitempty"` CurrentTime float32 `protobuf:"fixed32,4,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` State TheaterVideoPlayer_State `protobuf:"varint,5,opt,name=state,proto3,enum=proto.TheaterVideoPlayer_State" json:"state,omitempty"` UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SentAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"` // contains filtered or unexported fields }
func (*TheaterVideoPlayer) Descriptor
deprecated
func (*TheaterVideoPlayer) Descriptor() ([]byte, []int)
Deprecated: Use TheaterVideoPlayer.ProtoReflect.Descriptor instead.
func (*TheaterVideoPlayer) GetCurrentTime ¶
func (x *TheaterVideoPlayer) GetCurrentTime() float32
func (*TheaterVideoPlayer) GetMediaSource ¶
func (x *TheaterVideoPlayer) GetMediaSource() *MediaSource
func (*TheaterVideoPlayer) GetSentAt ¶
func (x *TheaterVideoPlayer) GetSentAt() *timestamppb.Timestamp
func (*TheaterVideoPlayer) GetState ¶
func (x *TheaterVideoPlayer) GetState() TheaterVideoPlayer_State
func (*TheaterVideoPlayer) GetTheaterId ¶
func (x *TheaterVideoPlayer) GetTheaterId() string
func (*TheaterVideoPlayer) GetUserId ¶
func (x *TheaterVideoPlayer) GetUserId() string
func (*TheaterVideoPlayer) ProtoMessage ¶
func (*TheaterVideoPlayer) ProtoMessage()
func (*TheaterVideoPlayer) ProtoReflect ¶
func (x *TheaterVideoPlayer) ProtoReflect() protoreflect.Message
func (*TheaterVideoPlayer) Reset ¶
func (x *TheaterVideoPlayer) Reset()
func (*TheaterVideoPlayer) String ¶
func (x *TheaterVideoPlayer) String() string
type TheaterVideoPlayer_State ¶
type TheaterVideoPlayer_State int32
const ( TheaterVideoPlayer_INVALID TheaterVideoPlayer_State = 0 TheaterVideoPlayer_PLAYING TheaterVideoPlayer_State = 1 TheaterVideoPlayer_PAUSED TheaterVideoPlayer_State = 2 )
func (TheaterVideoPlayer_State) Descriptor ¶
func (TheaterVideoPlayer_State) Descriptor() protoreflect.EnumDescriptor
func (TheaterVideoPlayer_State) Enum ¶
func (x TheaterVideoPlayer_State) Enum() *TheaterVideoPlayer_State
func (TheaterVideoPlayer_State) EnumDescriptor
deprecated
func (TheaterVideoPlayer_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use TheaterVideoPlayer_State.Descriptor instead.
func (TheaterVideoPlayer_State) Number ¶
func (x TheaterVideoPlayer_State) Number() protoreflect.EnumNumber
func (TheaterVideoPlayer_State) String ¶
func (x TheaterVideoPlayer_State) String() string
func (TheaterVideoPlayer_State) Type ¶
func (TheaterVideoPlayer_State) Type() protoreflect.EnumType
type TwoFactorAuthRequest ¶
type TwoFactorAuthRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*TwoFactorAuthRequest) Descriptor
deprecated
func (*TwoFactorAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use TwoFactorAuthRequest.ProtoReflect.Descriptor instead.
func (*TwoFactorAuthRequest) GetAuthRequest ¶
func (x *TwoFactorAuthRequest) GetAuthRequest() *AuthenticateRequest
func (*TwoFactorAuthRequest) GetCode ¶
func (x *TwoFactorAuthRequest) GetCode() string
func (*TwoFactorAuthRequest) ProtoMessage ¶
func (*TwoFactorAuthRequest) ProtoMessage()
func (*TwoFactorAuthRequest) ProtoReflect ¶
func (x *TwoFactorAuthRequest) ProtoReflect() protoreflect.Message
func (*TwoFactorAuthRequest) Reset ¶
func (x *TwoFactorAuthRequest) Reset()
func (*TwoFactorAuthRequest) String ¶
func (x *TwoFactorAuthRequest) String() string
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) Authenticate ¶
func (UnimplementedAuthServiceServer) Authenticate(context.Context, *AuthRequest) (*AuthResponse, error)
func (UnimplementedAuthServiceServer) CallbackOAUTH ¶
func (UnimplementedAuthServiceServer) CallbackOAUTH(context.Context, *OAUTHRequest) (*AuthResponse, error)
func (UnimplementedAuthServiceServer) RefreshToken ¶
func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*AuthResponse, error)
type UnimplementedMessagesServiceServer ¶
type UnimplementedMessagesServiceServer struct { }
UnimplementedMessagesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMessagesServiceServer) CreateAttachment ¶
func (UnimplementedMessagesServiceServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*AttachmentResponse, error)
func (UnimplementedMessagesServiceServer) CreateMessage ¶
func (UnimplementedMessagesServiceServer) CreateMessage(context.Context, *MessageRequest) (*MessageResponse, error)
func (UnimplementedMessagesServiceServer) DeleteMessage ¶
func (UnimplementedMessagesServiceServer) DeleteMessage(context.Context, *MessageRequest) (*MessageResponse, error)
func (UnimplementedMessagesServiceServer) EditMessage ¶
func (UnimplementedMessagesServiceServer) EditMessage(context.Context, *MessageRequest) (*MessageResponse, error)
func (UnimplementedMessagesServiceServer) GetUserMessages ¶
func (UnimplementedMessagesServiceServer) GetUserMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
type UnimplementedTheaterServiceServer ¶
type UnimplementedTheaterServiceServer struct { }
UnimplementedTheaterServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTheaterServiceServer) AddMediaSource ¶
func (UnimplementedTheaterServiceServer) AddMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
func (UnimplementedTheaterServiceServer) AddSubtitles ¶
func (UnimplementedTheaterServiceServer) AddSubtitles(context.Context, *AddSubtitlesRequest) (*SubtitlesResponse, error)
func (UnimplementedTheaterServiceServer) Follow ¶
func (UnimplementedTheaterServiceServer) Follow(context.Context, *TheaterAuthRequest) (*Response, error)
func (UnimplementedTheaterServiceServer) GetFollowedTheaters ¶
func (UnimplementedTheaterServiceServer) GetFollowedTheaters(context.Context, *AuthenticateRequest) (*FollowedTheatersResponse, error)
func (UnimplementedTheaterServiceServer) GetMediaSource ¶
func (UnimplementedTheaterServiceServer) GetMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
func (UnimplementedTheaterServiceServer) GetMediaSources ¶
func (UnimplementedTheaterServiceServer) GetMediaSources(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
func (UnimplementedTheaterServiceServer) GetSubtitles ¶
func (UnimplementedTheaterServiceServer) GetSubtitles(context.Context, *MediaSourceAuthRequest) (*TheaterSubtitlesResponse, error)
func (UnimplementedTheaterServiceServer) GetTheater ¶
func (UnimplementedTheaterServiceServer) GetTheater(context.Context, *GetTheaterRequest) (*UserTheaterResponse, error)
func (UnimplementedTheaterServiceServer) Invite ¶
func (UnimplementedTheaterServiceServer) Invite(context.Context, *InviteFriendsTheaterRequest) (*Response, error)
func (UnimplementedTheaterServiceServer) RemoveMediaSource ¶
func (UnimplementedTheaterServiceServer) RemoveMediaSource(context.Context, *MediaSourceRemoveRequest) (*Response, error)
func (UnimplementedTheaterServiceServer) RemoveSubtitle ¶
func (UnimplementedTheaterServiceServer) RemoveSubtitle(context.Context, *RemoveSubtitleRequest) (*Response, error)
func (UnimplementedTheaterServiceServer) SelectMediaSource ¶
func (UnimplementedTheaterServiceServer) SelectMediaSource(context.Context, *MediaSourceAuthRequest) (*TheaterMediaSourcesResponse, error)
func (UnimplementedTheaterServiceServer) Unfollow ¶
func (UnimplementedTheaterServiceServer) Unfollow(context.Context, *TheaterAuthRequest) (*Response, error)
func (UnimplementedTheaterServiceServer) UpdateTheater ¶
func (UnimplementedTheaterServiceServer) UpdateTheater(context.Context, *TheaterAuthRequest) (*Response, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) AcceptFriendRequest ¶
func (UnimplementedUserServiceServer) AcceptFriendRequest(context.Context, *FriendRequest) (*Response, error)
func (UnimplementedUserServiceServer) CreateDevice ¶
func (UnimplementedUserServiceServer) CreateDevice(context.Context, *CreateUserDevice) (*Response, error)
func (UnimplementedUserServiceServer) CreateNotification ¶
func (UnimplementedUserServiceServer) CreateNotification(context.Context, *CreateNotificationRequest) (*NotificationResponse, error)
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*AuthResponse, error)
func (UnimplementedUserServiceServer) DisableTwoFactorAuth ¶
func (UnimplementedUserServiceServer) DisableTwoFactorAuth(context.Context, *TwoFactorAuthRequest) (*Response, error)
func (UnimplementedUserServiceServer) EnableTwoFactorAuth ¶
func (UnimplementedUserServiceServer) EnableTwoFactorAuth(context.Context, *TwoFactorAuthRequest) (*Response, error)
func (UnimplementedUserServiceServer) GenerateRecoveryCodes ¶
func (UnimplementedUserServiceServer) GenerateRecoveryCodes(context.Context, *AuthenticateRequest) (*RecoveryCodesResponse, error)
func (UnimplementedUserServiceServer) GetConnection ¶
func (UnimplementedUserServiceServer) GetConnection(context.Context, *ConnectionRequest) (*ConnectionsResponse, error)
func (UnimplementedUserServiceServer) GetConnections ¶
func (UnimplementedUserServiceServer) GetConnections(context.Context, *AuthenticateRequest) (*ConnectionsResponse, error)
func (UnimplementedUserServiceServer) GetDevices ¶
func (UnimplementedUserServiceServer) GetDevices(context.Context, *AuthenticateRequest) (*UserDeviceResponse, error)
func (UnimplementedUserServiceServer) GetFriend ¶
func (UnimplementedUserServiceServer) GetFriend(context.Context, *FriendRequest) (*FriendResponse, error)
func (UnimplementedUserServiceServer) GetFriendRequest ¶
func (UnimplementedUserServiceServer) GetFriendRequest(context.Context, *FriendRequest) (*Friend, error)
func (UnimplementedUserServiceServer) GetFriends ¶
func (UnimplementedUserServiceServer) GetFriends(context.Context, *AuthenticateRequest) (*FriendsResponse, error)
func (UnimplementedUserServiceServer) GetNotifications ¶
func (UnimplementedUserServiceServer) GetNotifications(context.Context, *AuthenticateRequest) (*NotificationResponse, error)
func (UnimplementedUserServiceServer) GetOnlineFriends ¶
func (UnimplementedUserServiceServer) GetOnlineFriends(context.Context, *AuthenticateRequest) (*FriendsResponse, error)
func (UnimplementedUserServiceServer) GetPendingFriendRequests ¶
func (UnimplementedUserServiceServer) GetPendingFriendRequests(context.Context, *AuthenticateRequest) (*PendingFriendRequests, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *AuthenticateRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) ReadAllNotifications ¶
func (UnimplementedUserServiceServer) ReadAllNotifications(context.Context, *AuthenticateRequest) (*NotificationResponse, error)
func (UnimplementedUserServiceServer) RemoveActivity ¶
func (UnimplementedUserServiceServer) RemoveActivity(context.Context, *AuthenticateRequest) (*Response, error)
func (UnimplementedUserServiceServer) Search ¶
func (UnimplementedUserServiceServer) Search(context.Context, *SearchUserRequest) (*SearchUserResponse, error)
func (UnimplementedUserServiceServer) SendFriendRequest ¶
func (UnimplementedUserServiceServer) SendFriendRequest(context.Context, *FriendRequest) (*Response, error)
func (UnimplementedUserServiceServer) UpdateActivity ¶
func (UnimplementedUserServiceServer) UpdateActivity(context.Context, *UpdateActivityRequest) (*Response, error)
func (UnimplementedUserServiceServer) UpdateConnection ¶
func (UnimplementedUserServiceServer) UpdateConnection(context.Context, *ConnectionRequest) (*ConnectionsResponse, error)
func (UnimplementedUserServiceServer) UpdatePassword ¶
func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*Response, error)
func (UnimplementedUserServiceServer) UpdateState ¶
func (UnimplementedUserServiceServer) UpdateState(context.Context, *UpdateStateRequest) (*Response, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*GetUserResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeMessagesServiceServer ¶
type UnsafeMessagesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMessagesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessagesServiceServer will result in compilation errors.
type UnsafeTheaterServiceServer ¶
type UnsafeTheaterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTheaterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TheaterServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateActivityRequest ¶
type UpdateActivityRequest struct { Activity *Activity `protobuf:"bytes,1,opt,name=activity,proto3" json:"activity,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*UpdateActivityRequest) Descriptor
deprecated
func (*UpdateActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActivityRequest.ProtoReflect.Descriptor instead.
func (*UpdateActivityRequest) GetActivity ¶
func (x *UpdateActivityRequest) GetActivity() *Activity
func (*UpdateActivityRequest) GetAuthRequest ¶
func (x *UpdateActivityRequest) GetAuthRequest() *AuthenticateRequest
func (*UpdateActivityRequest) ProtoMessage ¶
func (*UpdateActivityRequest) ProtoMessage()
func (*UpdateActivityRequest) ProtoReflect ¶
func (x *UpdateActivityRequest) ProtoReflect() protoreflect.Message
func (*UpdateActivityRequest) Reset ¶
func (x *UpdateActivityRequest) Reset()
func (*UpdateActivityRequest) String ¶
func (x *UpdateActivityRequest) String() string
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` CurrentPassword string `protobuf:"bytes,2,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` VerifyNewPassword string `protobuf:"bytes,4,opt,name=verify_new_password,json=verifyNewPassword,proto3" json:"verify_new_password,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetAuthRequest ¶
func (x *UpdatePasswordRequest) GetAuthRequest() *AuthenticateRequest
func (*UpdatePasswordRequest) GetCurrentPassword ¶
func (x *UpdatePasswordRequest) GetCurrentPassword() string
func (*UpdatePasswordRequest) GetNewPassword ¶
func (x *UpdatePasswordRequest) GetNewPassword() string
func (*UpdatePasswordRequest) GetVerifyNewPassword ¶
func (x *UpdatePasswordRequest) GetVerifyNewPassword() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
type UpdateStateRequest ¶
type UpdateStateRequest struct { State PERSONAL_STATE `protobuf:"varint,1,opt,name=state,proto3,enum=proto.PERSONAL_STATE" json:"state,omitempty"` AuthRequest *AuthenticateRequest `protobuf:"bytes,2,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` // contains filtered or unexported fields }
func (*UpdateStateRequest) Descriptor
deprecated
func (*UpdateStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateStateRequest) GetAuthRequest ¶
func (x *UpdateStateRequest) GetAuthRequest() *AuthenticateRequest
func (*UpdateStateRequest) GetState ¶
func (x *UpdateStateRequest) GetState() PERSONAL_STATE
func (*UpdateStateRequest) ProtoMessage ¶
func (*UpdateStateRequest) ProtoMessage()
func (*UpdateStateRequest) ProtoReflect ¶
func (x *UpdateStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateStateRequest) Reset ¶
func (x *UpdateStateRequest) Reset()
func (*UpdateStateRequest) String ¶
func (x *UpdateStateRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { AuthRequest *AuthenticateRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` Result *User `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAuthRequest ¶
func (x *UpdateUserRequest) GetAuthRequest() *AuthenticateRequest
func (*UpdateUserRequest) GetResult ¶
func (x *UpdateUserRequest) GetResult() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fullname string `protobuf:"bytes,2,opt,name=fullname,proto3" json:"fullname,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` EmailVerified bool `protobuf:"varint,8,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"` IsStaff bool `protobuf:"varint,9,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"` Verified bool `protobuf:"varint,10,opt,name=verified,proto3" json:"verified,omitempty"` Avatar string `protobuf:"bytes,11,opt,name=avatar,proto3" json:"avatar,omitempty"` State PERSONAL_STATE `protobuf:"varint,12,opt,name=state,proto3,enum=proto.PERSONAL_STATE" json:"state,omitempty"` Activity *Activity `protobuf:"bytes,13,opt,name=activity,proto3" json:"activity,omitempty"` TwoFaEnabled bool `protobuf:"varint,14,opt,name=two_fa_enabled,json=twoFaEnabled,proto3" json:"two_fa_enabled,omitempty"` LastLogin *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` JoinedAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetActivity ¶
func (*User) GetEmailVerified ¶
func (*User) GetFullname ¶
func (*User) GetIsActive ¶
func (*User) GetIsStaff ¶
func (*User) GetJoinedAt ¶
func (x *User) GetJoinedAt() *timestamppb.Timestamp
func (*User) GetLastLogin ¶
func (x *User) GetLastLogin() *timestamppb.Timestamp
func (*User) GetPassword ¶
func (*User) GetState ¶
func (x *User) GetState() PERSONAL_STATE
func (*User) GetTwoFaEnabled ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) GetVerified ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserDeviceResponse ¶
type UserDeviceResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result []*Device `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UserDeviceResponse) Descriptor
deprecated
func (*UserDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserDeviceResponse.ProtoReflect.Descriptor instead.
func (*UserDeviceResponse) GetCode ¶
func (x *UserDeviceResponse) GetCode() int64
func (*UserDeviceResponse) GetMessage ¶
func (x *UserDeviceResponse) GetMessage() string
func (*UserDeviceResponse) GetResult ¶
func (x *UserDeviceResponse) GetResult() []*Device
func (*UserDeviceResponse) GetStatus ¶
func (x *UserDeviceResponse) GetStatus() string
func (*UserDeviceResponse) ProtoMessage ¶
func (*UserDeviceResponse) ProtoMessage()
func (*UserDeviceResponse) ProtoReflect ¶
func (x *UserDeviceResponse) ProtoReflect() protoreflect.Message
func (*UserDeviceResponse) Reset ¶
func (x *UserDeviceResponse) Reset()
func (*UserDeviceResponse) String ¶
func (x *UserDeviceResponse) String() string
type UserServiceClient ¶
type UserServiceClient interface { // User Profile UpdateState(ctx context.Context, in *UpdateStateRequest, opts ...grpc.CallOption) (*Response, error) UpdateActivity(ctx context.Context, in *UpdateActivityRequest, opts ...grpc.CallOption) (*Response, error) RemoveActivity(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*Response, error) GetUser(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*GetUserResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) Search(ctx context.Context, in *SearchUserRequest, opts ...grpc.CallOption) (*SearchUserResponse, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*AuthResponse, error) // Security UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*Response, error) GenerateRecoveryCodes(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*RecoveryCodesResponse, error) EnableTwoFactorAuth(ctx context.Context, in *TwoFactorAuthRequest, opts ...grpc.CallOption) (*Response, error) DisableTwoFactorAuth(ctx context.Context, in *TwoFactorAuthRequest, opts ...grpc.CallOption) (*Response, error) // FriendZone GetFriend(ctx context.Context, in *FriendRequest, opts ...grpc.CallOption) (*FriendResponse, error) GetPendingFriendRequests(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*PendingFriendRequests, error) GetFriendRequest(ctx context.Context, in *FriendRequest, opts ...grpc.CallOption) (*Friend, error) SendFriendRequest(ctx context.Context, in *FriendRequest, opts ...grpc.CallOption) (*Response, error) AcceptFriendRequest(ctx context.Context, in *FriendRequest, opts ...grpc.CallOption) (*Response, error) GetFriends(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*FriendsResponse, error) GetOnlineFriends(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*FriendsResponse, error) // Connections GetConnection(ctx context.Context, in *ConnectionRequest, opts ...grpc.CallOption) (*ConnectionsResponse, error) GetConnections(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*ConnectionsResponse, error) UpdateConnection(ctx context.Context, in *ConnectionRequest, opts ...grpc.CallOption) (*ConnectionsResponse, error) // Notifications GetNotifications(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*NotificationResponse, error) CreateNotification(ctx context.Context, in *CreateNotificationRequest, opts ...grpc.CallOption) (*NotificationResponse, error) ReadAllNotifications(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*NotificationResponse, error) // User Devices CreateDevice(ctx context.Context, in *CreateUserDevice, opts ...grpc.CallOption) (*Response, error) GetDevices(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*UserDeviceResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // User Profile UpdateState(context.Context, *UpdateStateRequest) (*Response, error) UpdateActivity(context.Context, *UpdateActivityRequest) (*Response, error) RemoveActivity(context.Context, *AuthenticateRequest) (*Response, error) GetUser(context.Context, *AuthenticateRequest) (*GetUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*GetUserResponse, error) Search(context.Context, *SearchUserRequest) (*SearchUserResponse, error) CreateUser(context.Context, *CreateUserRequest) (*AuthResponse, error) // Security UpdatePassword(context.Context, *UpdatePasswordRequest) (*Response, error) GenerateRecoveryCodes(context.Context, *AuthenticateRequest) (*RecoveryCodesResponse, error) EnableTwoFactorAuth(context.Context, *TwoFactorAuthRequest) (*Response, error) DisableTwoFactorAuth(context.Context, *TwoFactorAuthRequest) (*Response, error) // FriendZone GetFriend(context.Context, *FriendRequest) (*FriendResponse, error) GetPendingFriendRequests(context.Context, *AuthenticateRequest) (*PendingFriendRequests, error) GetFriendRequest(context.Context, *FriendRequest) (*Friend, error) SendFriendRequest(context.Context, *FriendRequest) (*Response, error) AcceptFriendRequest(context.Context, *FriendRequest) (*Response, error) GetFriends(context.Context, *AuthenticateRequest) (*FriendsResponse, error) GetOnlineFriends(context.Context, *AuthenticateRequest) (*FriendsResponse, error) // Connections GetConnection(context.Context, *ConnectionRequest) (*ConnectionsResponse, error) GetConnections(context.Context, *AuthenticateRequest) (*ConnectionsResponse, error) UpdateConnection(context.Context, *ConnectionRequest) (*ConnectionsResponse, error) // Notifications GetNotifications(context.Context, *AuthenticateRequest) (*NotificationResponse, error) CreateNotification(context.Context, *CreateNotificationRequest) (*NotificationResponse, error) ReadAllNotifications(context.Context, *AuthenticateRequest) (*NotificationResponse, error) // User Devices CreateDevice(context.Context, *CreateUserDevice) (*Response, error) GetDevices(context.Context, *AuthenticateRequest) (*UserDeviceResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserTheaterResponse ¶
type UserTheaterResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Result *Theater `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UserTheaterResponse) Descriptor
deprecated
func (*UserTheaterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserTheaterResponse.ProtoReflect.Descriptor instead.
func (*UserTheaterResponse) GetCode ¶
func (x *UserTheaterResponse) GetCode() int64
func (*UserTheaterResponse) GetMessage ¶
func (x *UserTheaterResponse) GetMessage() string
func (*UserTheaterResponse) GetResult ¶
func (x *UserTheaterResponse) GetResult() *Theater
func (*UserTheaterResponse) GetStatus ¶
func (x *UserTheaterResponse) GetStatus() string
func (*UserTheaterResponse) ProtoMessage ¶
func (*UserTheaterResponse) ProtoMessage()
func (*UserTheaterResponse) ProtoReflect ¶
func (x *UserTheaterResponse) ProtoReflect() protoreflect.Message
func (*UserTheaterResponse) Reset ¶
func (x *UserTheaterResponse) Reset()
func (*UserTheaterResponse) String ¶
func (x *UserTheaterResponse) String() string
type VIDEO_PLAYER_ACCESS ¶
type VIDEO_PLAYER_ACCESS int32
const ( VIDEO_PLAYER_ACCESS_ACCESS_UNKNOWN VIDEO_PLAYER_ACCESS = 0 VIDEO_PLAYER_ACCESS_ACCESS_BY_USER VIDEO_PLAYER_ACCESS = 1 VIDEO_PLAYER_ACCESS_ACCESS_BY_EVERYONE VIDEO_PLAYER_ACCESS = 2 VIDEO_PLAYER_ACCESS_ACCESS_BY_FRIENDS VIDEO_PLAYER_ACCESS = 3 VIDEO_PLAYER_ACCESS_ACCESS_BY_CHOOSEN_FRIENDS VIDEO_PLAYER_ACCESS = 4 )
func (VIDEO_PLAYER_ACCESS) Descriptor ¶
func (VIDEO_PLAYER_ACCESS) Descriptor() protoreflect.EnumDescriptor
func (VIDEO_PLAYER_ACCESS) Enum ¶
func (x VIDEO_PLAYER_ACCESS) Enum() *VIDEO_PLAYER_ACCESS
func (VIDEO_PLAYER_ACCESS) EnumDescriptor
deprecated
func (VIDEO_PLAYER_ACCESS) EnumDescriptor() ([]byte, []int)
Deprecated: Use VIDEO_PLAYER_ACCESS.Descriptor instead.
func (VIDEO_PLAYER_ACCESS) Number ¶
func (x VIDEO_PLAYER_ACCESS) Number() protoreflect.EnumNumber
func (VIDEO_PLAYER_ACCESS) String ¶
func (x VIDEO_PLAYER_ACCESS) String() string
func (VIDEO_PLAYER_ACCESS) Type ¶
func (VIDEO_PLAYER_ACCESS) Type() protoreflect.EnumType
type ValidationError ¶
type ValidationError struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ValidationError) Descriptor
deprecated
func (*ValidationError) Descriptor() ([]byte, []int)
Deprecated: Use ValidationError.ProtoReflect.Descriptor instead.
func (*ValidationError) GetErrors ¶
func (x *ValidationError) GetErrors() []string
func (*ValidationError) GetField ¶
func (x *ValidationError) GetField() string
func (*ValidationError) ProtoMessage ¶
func (*ValidationError) ProtoMessage()
func (*ValidationError) ProtoReflect ¶
func (x *ValidationError) ProtoReflect() protoreflect.Message
func (*ValidationError) Reset ¶
func (x *ValidationError) Reset()
func (*ValidationError) String ¶
func (x *ValidationError) String() string
type VideoPlayerAccessByRoles ¶
type VideoPlayerAccessByRoles struct { Roles []*TheaterRole `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*VideoPlayerAccessByRoles) Descriptor
deprecated
func (*VideoPlayerAccessByRoles) Descriptor() ([]byte, []int)
Deprecated: Use VideoPlayerAccessByRoles.ProtoReflect.Descriptor instead.
func (*VideoPlayerAccessByRoles) GetRoles ¶
func (x *VideoPlayerAccessByRoles) GetRoles() []*TheaterRole
func (*VideoPlayerAccessByRoles) ProtoMessage ¶
func (*VideoPlayerAccessByRoles) ProtoMessage()
func (*VideoPlayerAccessByRoles) ProtoReflect ¶
func (x *VideoPlayerAccessByRoles) ProtoReflect() protoreflect.Message
func (*VideoPlayerAccessByRoles) Reset ¶
func (x *VideoPlayerAccessByRoles) Reset()
func (*VideoPlayerAccessByRoles) String ¶
func (x *VideoPlayerAccessByRoles) String() string
type VoiceConnection ¶ added in v0.0.3
type VoiceConnection struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` Deafened bool `protobuf:"varint,3,opt,name=deafened,proto3" json:"deafened,omitempty"` Talking bool `protobuf:"varint,4,opt,name=talking,proto3" json:"talking,omitempty"` User *User `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Theater *Theater `protobuf:"bytes,6,opt,name=theater,proto3" json:"theater,omitempty"` // contains filtered or unexported fields }
func (*VoiceConnection) Descriptor
deprecated
added in
v0.0.3
func (*VoiceConnection) Descriptor() ([]byte, []int)
Deprecated: Use VoiceConnection.ProtoReflect.Descriptor instead.
func (*VoiceConnection) GetDeafened ¶ added in v0.0.3
func (x *VoiceConnection) GetDeafened() bool
func (*VoiceConnection) GetId ¶ added in v0.0.3
func (x *VoiceConnection) GetId() string
func (*VoiceConnection) GetMuted ¶ added in v0.0.3
func (x *VoiceConnection) GetMuted() bool
func (*VoiceConnection) GetTalking ¶ added in v0.0.3
func (x *VoiceConnection) GetTalking() bool
func (*VoiceConnection) GetTheater ¶ added in v0.0.3
func (x *VoiceConnection) GetTheater() *Theater
func (*VoiceConnection) GetUser ¶ added in v0.0.3
func (x *VoiceConnection) GetUser() *User
func (*VoiceConnection) ProtoMessage ¶ added in v0.0.3
func (*VoiceConnection) ProtoMessage()
func (*VoiceConnection) ProtoReflect ¶ added in v0.0.3
func (x *VoiceConnection) ProtoReflect() protoreflect.Message
func (*VoiceConnection) Reset ¶ added in v0.0.3
func (x *VoiceConnection) Reset()
func (*VoiceConnection) String ¶ added in v0.0.3
func (x *VoiceConnection) String() string
Source Files ¶
- grpc.auth.pb.go
- grpc.auth_grpc.pb.go
- grpc.base.pb.go
- grpc.connection.pb.go
- grpc.devices.pb.go
- grpc.message.pb.go
- grpc.message_grpc.pb.go
- grpc.theater.pb.go
- grpc.theater_grpc.pb.go
- grpc.user.pb.go
- grpc.user_grpc.pb.go
- ws.auth.pb.go
- ws.base.pb.go
- ws.chat.pb.go
- ws.enums.pb.go
- ws.media.pb.go
- ws.members.pb.go
- ws.notification.pb.go
- ws.state.pb.go
- ws.theater.pb.go