Documentation ¶
Index ¶
- type AuthPayloads
- func (p *AuthPayloads) RefreshAuth(refreshToken string) protoreflect.ProtoMessage
- func (p *AuthPayloads) SendSMS(number string) protoreflect.ProtoMessage
- func (p *AuthPayloads) ValidateEmailOTP(otp string, refreshToken string) protoreflect.ProtoMessage
- func (p *AuthPayloads) VerifyOTP(otp string, phone string) protoreflect.ProtoMessage
- type Buckets
- type GetUpdates
- type MessagePayload
- type SocketPayloads
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthPayloads ¶
type AuthPayloads struct{}
func (*AuthPayloads) RefreshAuth ¶
func (p *AuthPayloads) RefreshAuth(refreshToken string) protoreflect.ProtoMessage
func (*AuthPayloads) SendSMS ¶
func (p *AuthPayloads) SendSMS(number string) protoreflect.ProtoMessage
func (*AuthPayloads) ValidateEmailOTP ¶
func (p *AuthPayloads) ValidateEmailOTP(otp string, refreshToken string) protoreflect.ProtoMessage
func (*AuthPayloads) VerifyOTP ¶
func (p *AuthPayloads) VerifyOTP(otp string, phone string) protoreflect.ProtoMessage
type GetUpdates ¶
type MessagePayload ¶
type MessagePayload struct { Message string `json:"message,omitempty"` Type string `json:"type,omitempty"` // "gif" GifId string `json:"gif_id,omitempty"` }
func (*MessagePayload) ToJSON ¶
func (m *MessagePayload) ToJSON() ([]byte, error)
type SocketPayloads ¶
type SocketPayloads struct{}
func (*SocketPayloads) StartTypingPayload ¶
func (p *SocketPayloads) StartTypingPayload(userId string, matchId string) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.