Documentation ¶
Index ¶
- Variables
- type CardDeckCards
- func (CardDeckCards) Descriptor() protoreflect.EnumDescriptor
- func (x CardDeckCards) Enum() *CardDeckCards
- func (CardDeckCards) EnumDescriptor() ([]byte, []int)deprecated
- func (x CardDeckCards) Number() protoreflect.EnumNumber
- func (x CardDeckCards) String() string
- func (CardDeckCards) Type() protoreflect.EnumType
- type CardDeckType
- func (CardDeckType) Descriptor() protoreflect.EnumDescriptor
- func (x CardDeckType) Enum() *CardDeckType
- func (CardDeckType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CardDeckType) Number() protoreflect.EnumNumber
- func (x CardDeckType) String() string
- func (CardDeckType) Type() protoreflect.EnumType
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetHosting() bool
- func (x *Connection) GetState() Connection_State
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type Connection_State
- func (Connection_State) Descriptor() protoreflect.EnumDescriptor
- func (x Connection_State) Enum() *Connection_State
- func (Connection_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Connection_State) Number() protoreflect.EnumNumber
- func (x Connection_State) String() string
- func (Connection_State) Type() protoreflect.EnumType
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetConnection() *Connection
- func (x *Container) GetGameID() string
- func (x *Container) GetGameStatusUpdate() *GameStatusUpdate
- func (x *Container) GetGatewayID() string
- func (x *Container) GetHostUpdate() *HostUpdate
- func (x *Container) GetKickUser() *KickUser
- func (m *Container) GetMsg() isContainer_Msg
- func (x *Container) GetOpenGame() *OpenGame
- func (x *Container) GetPlayerUpdate() *PlayerUpdate
- func (x *Container) GetUserID() string
- func (x *Container) GetUserToken() *UserToken
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type Container_Connection
- type Container_GameStatusUpdate
- type Container_HostUpdate
- type Container_KickUser
- type Container_OpenGame
- type Container_PlayerUpdate
- type Container_UserToken
- type GameStatus
- type GameStatusUpdate
- func (*GameStatusUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *GameStatusUpdate) GetCardDeck() CardDeckType
- func (x *GameStatusUpdate) GetGameDeck() string
- func (x *GameStatusUpdate) GetGameRound() int32
- func (x *GameStatusUpdate) GetGameStatus() GameStatus
- func (x *GameStatusUpdate) GetGameTitle() string
- func (x *GameStatusUpdate) GetGameTopic() string
- func (x *GameStatusUpdate) GetGameTopicLink() string
- func (x *GameStatusUpdate) GetHighlightedPlayers() []string
- func (x *GameStatusUpdate) GetHosts() []string
- func (x *GameStatusUpdate) GetMajorityJoinedPlayers() []string
- func (x *GameStatusUpdate) GetMajorityVotedCard() CardDeckCards
- func (x *GameStatusUpdate) GetPlayerStatus() map[string]CardDeckCards
- func (x *GameStatusUpdate) GetUnanimousVote() bool
- func (*GameStatusUpdate) ProtoMessage()
- func (x *GameStatusUpdate) ProtoReflect() protoreflect.Message
- func (x *GameStatusUpdate) Reset()
- func (x *GameStatusUpdate) String() string
- type HostUpdate
- func (*HostUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *HostUpdate) GetGameStatus() GameStatus
- func (x *HostUpdate) GetGameTitle() string
- func (x *HostUpdate) GetGameTopic() string
- func (x *HostUpdate) GetGameTopicLink() string
- func (*HostUpdate) ProtoMessage()
- func (x *HostUpdate) ProtoReflect() protoreflect.Message
- func (x *HostUpdate) Reset()
- func (x *HostUpdate) String() string
- type KickUser
- type OpenGame
- type PlayerUpdate
- type SpecialUserID
- func (SpecialUserID) Descriptor() protoreflect.EnumDescriptor
- func (x SpecialUserID) Enum() *SpecialUserID
- func (SpecialUserID) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpecialUserID) Number() protoreflect.EnumNumber
- func (x SpecialUserID) String() string
- func (SpecialUserID) Type() protoreflect.EnumType
- type UserToken
Constants ¶
This section is empty.
Variables ¶
var ( SpecialUserID_name = map[int32]string{ 0: "HOST", } SpecialUserID_value = map[string]int32{ "HOST": 0, } )
Enum value maps for SpecialUserID.
var ( GameStatus_name = map[int32]string{ 0: "NEW", 1: "RUNNING", 2: "FINISHED", } GameStatus_value = map[string]int32{ "NEW": 0, "RUNNING": 1, "FINISHED": 2, } )
Enum value maps for GameStatus.
var ( CardDeckType_name = map[int32]string{ 0: "DEFAULT", 1: "TSHIRT", } CardDeckType_value = map[string]int32{ "DEFAULT": 0, "TSHIRT": 1, } )
Enum value maps for CardDeckType.
var ( CardDeckCards_name = map[int32]string{ 0: "SPECIAL_NOTCHOSEN", 1: "SPECIAL_CHOSEN", 2: "SPECIAL_JOINMAJORITY", 3: "SPECIAL_NOMAJORITY", 4: "DEFAULT_ZERO", 5: "DEFAULT_PFIVE", 6: "DEFAULT_ONE", 7: "DEFAULT_TWO", 8: "DEFAULT_THREE", 9: "DEFAULT_FIVE", 10: "DEFAULT_EIGHT", 11: "DEFAULT_THIRTEEN", 12: "DEFAULT_TWENTY", 13: "DEFAULT_FOURTY", 14: "DEFAULT_HUNDRED", 15: "TSHIRT_S", 16: "TSHIRT_M", 17: "TSHIRT_L", 18: "TSHIRT_XL", } CardDeckCards_value = map[string]int32{ "SPECIAL_NOTCHOSEN": 0, "SPECIAL_CHOSEN": 1, "SPECIAL_JOINMAJORITY": 2, "SPECIAL_NOMAJORITY": 3, "DEFAULT_ZERO": 4, "DEFAULT_PFIVE": 5, "DEFAULT_ONE": 6, "DEFAULT_TWO": 7, "DEFAULT_THREE": 8, "DEFAULT_FIVE": 9, "DEFAULT_EIGHT": 10, "DEFAULT_THIRTEEN": 11, "DEFAULT_TWENTY": 12, "DEFAULT_FOURTY": 13, "DEFAULT_HUNDRED": 14, "TSHIRT_S": 15, "TSHIRT_M": 16, "TSHIRT_L": 17, "TSHIRT_XL": 18, } )
Enum value maps for CardDeckCards.
var ( Connection_State_name = map[int32]string{ 0: "CONNECTION", 1: "OPEN", 2: "INIT", 3: "ESTABLISHED", 4: "DISCONNECTED", } Connection_State_value = map[string]int32{ "CONNECTION": 0, "OPEN": 1, "INIT": 2, "ESTABLISHED": 3, "DISCONNECTED": 4, } )
Enum value maps for Connection_State.
var File_pkg_communication_messaging_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CardDeckCards ¶
type CardDeckCards int32
const ( CardDeckCards_SPECIAL_NOTCHOSEN CardDeckCards = 0 CardDeckCards_SPECIAL_CHOSEN CardDeckCards = 1 CardDeckCards_SPECIAL_JOINMAJORITY CardDeckCards = 2 CardDeckCards_SPECIAL_NOMAJORITY CardDeckCards = 3 CardDeckCards_DEFAULT_ZERO CardDeckCards = 4 CardDeckCards_DEFAULT_PFIVE CardDeckCards = 5 CardDeckCards_DEFAULT_ONE CardDeckCards = 6 CardDeckCards_DEFAULT_TWO CardDeckCards = 7 CardDeckCards_DEFAULT_THREE CardDeckCards = 8 CardDeckCards_DEFAULT_FIVE CardDeckCards = 9 CardDeckCards_DEFAULT_EIGHT CardDeckCards = 10 CardDeckCards_DEFAULT_THIRTEEN CardDeckCards = 11 CardDeckCards_DEFAULT_TWENTY CardDeckCards = 12 CardDeckCards_DEFAULT_FOURTY CardDeckCards = 13 CardDeckCards_DEFAULT_HUNDRED CardDeckCards = 14 CardDeckCards_TSHIRT_S CardDeckCards = 15 CardDeckCards_TSHIRT_M CardDeckCards = 16 CardDeckCards_TSHIRT_L CardDeckCards = 17 CardDeckCards_TSHIRT_XL CardDeckCards = 18 )
func (CardDeckCards) Descriptor ¶
func (CardDeckCards) Descriptor() protoreflect.EnumDescriptor
func (CardDeckCards) Enum ¶
func (x CardDeckCards) Enum() *CardDeckCards
func (CardDeckCards) EnumDescriptor
deprecated
func (CardDeckCards) EnumDescriptor() ([]byte, []int)
Deprecated: Use CardDeckCards.Descriptor instead.
func (CardDeckCards) Number ¶
func (x CardDeckCards) Number() protoreflect.EnumNumber
func (CardDeckCards) String ¶
func (x CardDeckCards) String() string
func (CardDeckCards) Type ¶
func (CardDeckCards) Type() protoreflect.EnumType
type CardDeckType ¶
type CardDeckType int32
const ( CardDeckType_DEFAULT CardDeckType = 0 CardDeckType_TSHIRT CardDeckType = 1 )
func (CardDeckType) Descriptor ¶
func (CardDeckType) Descriptor() protoreflect.EnumDescriptor
func (CardDeckType) Enum ¶
func (x CardDeckType) Enum() *CardDeckType
func (CardDeckType) EnumDescriptor
deprecated
func (CardDeckType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CardDeckType.Descriptor instead.
func (CardDeckType) Number ¶
func (x CardDeckType) Number() protoreflect.EnumNumber
func (CardDeckType) String ¶
func (x CardDeckType) String() string
func (CardDeckType) Type ¶
func (CardDeckType) Type() protoreflect.EnumType
type Connection ¶
type Connection struct { Hosting bool `protobuf:"varint,1,opt,name=hosting,proto3" json:"hosting,omitempty"` State Connection_State `protobuf:"varint,2,opt,name=state,proto3,enum=messaging.Connection_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetHosting ¶
func (x *Connection) GetHosting() bool
func (*Connection) GetState ¶
func (x *Connection) GetState() Connection_State
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 Connection_State ¶
type Connection_State int32
const ( Connection_CONNECTION Connection_State = 0 Connection_OPEN Connection_State = 1 Connection_INIT Connection_State = 2 Connection_ESTABLISHED Connection_State = 3 Connection_DISCONNECTED Connection_State = 4 )
func (Connection_State) Descriptor ¶
func (Connection_State) Descriptor() protoreflect.EnumDescriptor
func (Connection_State) Enum ¶
func (x Connection_State) Enum() *Connection_State
func (Connection_State) EnumDescriptor
deprecated
func (Connection_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Connection_State.Descriptor instead.
func (Connection_State) Number ¶
func (x Connection_State) Number() protoreflect.EnumNumber
func (Connection_State) String ¶
func (x Connection_State) String() string
func (Connection_State) Type ¶
func (Connection_State) Type() protoreflect.EnumType
type Container ¶
type Container struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` GameID string `protobuf:"bytes,2,opt,name=gameID,proto3" json:"gameID,omitempty"` GatewayID string `protobuf:"bytes,3,opt,name=gatewayID,proto3" json:"gatewayID,omitempty"` // Types that are assignable to Msg: // *Container_Connection // *Container_GameStatusUpdate // *Container_PlayerUpdate // *Container_HostUpdate // *Container_UserToken // *Container_OpenGame // *Container_KickUser Msg isContainer_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetConnection ¶
func (x *Container) GetConnection() *Connection
func (*Container) GetGameStatusUpdate ¶
func (x *Container) GetGameStatusUpdate() *GameStatusUpdate
func (*Container) GetGatewayID ¶
func (*Container) GetHostUpdate ¶
func (x *Container) GetHostUpdate() *HostUpdate
func (*Container) GetKickUser ¶
func (*Container) GetOpenGame ¶
func (*Container) GetPlayerUpdate ¶
func (x *Container) GetPlayerUpdate() *PlayerUpdate
func (*Container) GetUserToken ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type Container_Connection ¶
type Container_Connection struct {
Connection *Connection `protobuf:"bytes,4,opt,name=connection,proto3,oneof"`
}
type Container_GameStatusUpdate ¶
type Container_GameStatusUpdate struct {
GameStatusUpdate *GameStatusUpdate `protobuf:"bytes,5,opt,name=gameStatusUpdate,proto3,oneof"`
}
type Container_HostUpdate ¶
type Container_HostUpdate struct {
HostUpdate *HostUpdate `protobuf:"bytes,7,opt,name=hostUpdate,proto3,oneof"`
}
type Container_KickUser ¶
type Container_KickUser struct {
KickUser *KickUser `protobuf:"bytes,10,opt,name=kickUser,proto3,oneof"`
}
type Container_OpenGame ¶
type Container_OpenGame struct {
OpenGame *OpenGame `protobuf:"bytes,9,opt,name=openGame,proto3,oneof"`
}
type Container_PlayerUpdate ¶
type Container_PlayerUpdate struct {
PlayerUpdate *PlayerUpdate `protobuf:"bytes,6,opt,name=playerUpdate,proto3,oneof"`
}
type Container_UserToken ¶
type Container_UserToken struct {
UserToken *UserToken `protobuf:"bytes,8,opt,name=userToken,proto3,oneof"`
}
type GameStatus ¶
type GameStatus int32
const ( GameStatus_NEW GameStatus = 0 GameStatus_RUNNING GameStatus = 1 GameStatus_FINISHED GameStatus = 2 )
func (GameStatus) Descriptor ¶
func (GameStatus) Descriptor() protoreflect.EnumDescriptor
func (GameStatus) Enum ¶
func (x GameStatus) Enum() *GameStatus
func (GameStatus) EnumDescriptor
deprecated
func (GameStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use GameStatus.Descriptor instead.
func (GameStatus) Number ¶
func (x GameStatus) Number() protoreflect.EnumNumber
func (GameStatus) String ¶
func (x GameStatus) String() string
func (GameStatus) Type ¶
func (GameStatus) Type() protoreflect.EnumType
type GameStatusUpdate ¶
type GameStatusUpdate struct { PlayerStatus map[string]CardDeckCards `` /* 195-byte string literal not displayed */ HighlightedPlayers []string `protobuf:"bytes,2,rep,name=highlightedPlayers,proto3" json:"highlightedPlayers,omitempty"` MajorityJoinedPlayers []string `protobuf:"bytes,3,rep,name=majorityJoinedPlayers,proto3" json:"majorityJoinedPlayers,omitempty"` MajorityVotedCard CardDeckCards `protobuf:"varint,4,opt,name=majorityVotedCard,proto3,enum=messaging.CardDeckCards" json:"majorityVotedCard,omitempty"` UnanimousVote bool `protobuf:"varint,5,opt,name=unanimousVote,proto3" json:"unanimousVote,omitempty"` Hosts []string `protobuf:"bytes,6,rep,name=hosts,proto3" json:"hosts,omitempty"` GameStatus GameStatus `protobuf:"varint,7,opt,name=gameStatus,proto3,enum=messaging.GameStatus" json:"gameStatus,omitempty"` GameTitle string `protobuf:"bytes,8,opt,name=gameTitle,proto3" json:"gameTitle,omitempty"` GameDeck string `protobuf:"bytes,9,opt,name=gameDeck,proto3" json:"gameDeck,omitempty"` GameTopic string `protobuf:"bytes,10,opt,name=gameTopic,proto3" json:"gameTopic,omitempty"` GameRound int32 `protobuf:"varint,11,opt,name=gameRound,proto3" json:"gameRound,omitempty"` CardDeck CardDeckType `protobuf:"varint,12,opt,name=cardDeck,proto3,enum=messaging.CardDeckType" json:"cardDeck,omitempty"` GameTopicLink string `protobuf:"bytes,13,opt,name=gameTopicLink,proto3" json:"gameTopicLink,omitempty"` // contains filtered or unexported fields }
func (*GameStatusUpdate) Descriptor
deprecated
func (*GameStatusUpdate) Descriptor() ([]byte, []int)
Deprecated: Use GameStatusUpdate.ProtoReflect.Descriptor instead.
func (*GameStatusUpdate) GetCardDeck ¶
func (x *GameStatusUpdate) GetCardDeck() CardDeckType
func (*GameStatusUpdate) GetGameDeck ¶
func (x *GameStatusUpdate) GetGameDeck() string
func (*GameStatusUpdate) GetGameRound ¶
func (x *GameStatusUpdate) GetGameRound() int32
func (*GameStatusUpdate) GetGameStatus ¶
func (x *GameStatusUpdate) GetGameStatus() GameStatus
func (*GameStatusUpdate) GetGameTitle ¶
func (x *GameStatusUpdate) GetGameTitle() string
func (*GameStatusUpdate) GetGameTopic ¶
func (x *GameStatusUpdate) GetGameTopic() string
func (*GameStatusUpdate) GetGameTopicLink ¶
func (x *GameStatusUpdate) GetGameTopicLink() string
func (*GameStatusUpdate) GetHighlightedPlayers ¶
func (x *GameStatusUpdate) GetHighlightedPlayers() []string
func (*GameStatusUpdate) GetHosts ¶
func (x *GameStatusUpdate) GetHosts() []string
func (*GameStatusUpdate) GetMajorityJoinedPlayers ¶
func (x *GameStatusUpdate) GetMajorityJoinedPlayers() []string
func (*GameStatusUpdate) GetMajorityVotedCard ¶
func (x *GameStatusUpdate) GetMajorityVotedCard() CardDeckCards
func (*GameStatusUpdate) GetPlayerStatus ¶
func (x *GameStatusUpdate) GetPlayerStatus() map[string]CardDeckCards
func (*GameStatusUpdate) GetUnanimousVote ¶
func (x *GameStatusUpdate) GetUnanimousVote() bool
func (*GameStatusUpdate) ProtoMessage ¶
func (*GameStatusUpdate) ProtoMessage()
func (*GameStatusUpdate) ProtoReflect ¶
func (x *GameStatusUpdate) ProtoReflect() protoreflect.Message
func (*GameStatusUpdate) Reset ¶
func (x *GameStatusUpdate) Reset()
func (*GameStatusUpdate) String ¶
func (x *GameStatusUpdate) String() string
type HostUpdate ¶
type HostUpdate struct { GameStatus GameStatus `protobuf:"varint,1,opt,name=gameStatus,proto3,enum=messaging.GameStatus" json:"gameStatus,omitempty"` GameTitle string `protobuf:"bytes,2,opt,name=gameTitle,proto3" json:"gameTitle,omitempty"` GameTopic string `protobuf:"bytes,3,opt,name=gameTopic,proto3" json:"gameTopic,omitempty"` GameTopicLink string `protobuf:"bytes,4,opt,name=gameTopicLink,proto3" json:"gameTopicLink,omitempty"` // contains filtered or unexported fields }
func (*HostUpdate) Descriptor
deprecated
func (*HostUpdate) Descriptor() ([]byte, []int)
Deprecated: Use HostUpdate.ProtoReflect.Descriptor instead.
func (*HostUpdate) GetGameStatus ¶
func (x *HostUpdate) GetGameStatus() GameStatus
func (*HostUpdate) GetGameTitle ¶
func (x *HostUpdate) GetGameTitle() string
func (*HostUpdate) GetGameTopic ¶
func (x *HostUpdate) GetGameTopic() string
func (*HostUpdate) GetGameTopicLink ¶
func (x *HostUpdate) GetGameTopicLink() string
func (*HostUpdate) ProtoMessage ¶
func (*HostUpdate) ProtoMessage()
func (*HostUpdate) ProtoReflect ¶
func (x *HostUpdate) ProtoReflect() protoreflect.Message
func (*HostUpdate) Reset ¶
func (x *HostUpdate) Reset()
func (*HostUpdate) String ¶
func (x *HostUpdate) String() string
type KickUser ¶
type KickUser struct { UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"` // contains filtered or unexported fields }
func (*KickUser) Descriptor
deprecated
func (*KickUser) ProtoMessage ¶
func (*KickUser) ProtoMessage()
func (*KickUser) ProtoReflect ¶
func (x *KickUser) ProtoReflect() protoreflect.Message
type OpenGame ¶
type OpenGame struct { GameTitle string `protobuf:"bytes,1,opt,name=gameTitle,proto3" json:"gameTitle,omitempty"` CardDeck CardDeckType `protobuf:"varint,2,opt,name=cardDeck,proto3,enum=messaging.CardDeckType" json:"cardDeck,omitempty"` // contains filtered or unexported fields }
func (*OpenGame) Descriptor
deprecated
func (*OpenGame) GetCardDeck ¶
func (x *OpenGame) GetCardDeck() CardDeckType
func (*OpenGame) GetGameTitle ¶
func (*OpenGame) ProtoMessage ¶
func (*OpenGame) ProtoMessage()
func (*OpenGame) ProtoReflect ¶
func (x *OpenGame) ProtoReflect() protoreflect.Message
type PlayerUpdate ¶
type PlayerUpdate struct { Card CardDeckCards `protobuf:"varint,1,opt,name=card,proto3,enum=messaging.CardDeckCards" json:"card,omitempty"` // contains filtered or unexported fields }
func (*PlayerUpdate) Descriptor
deprecated
func (*PlayerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PlayerUpdate.ProtoReflect.Descriptor instead.
func (*PlayerUpdate) GetCard ¶
func (x *PlayerUpdate) GetCard() CardDeckCards
func (*PlayerUpdate) ProtoMessage ¶
func (*PlayerUpdate) ProtoMessage()
func (*PlayerUpdate) ProtoReflect ¶
func (x *PlayerUpdate) ProtoReflect() protoreflect.Message
func (*PlayerUpdate) Reset ¶
func (x *PlayerUpdate) Reset()
func (*PlayerUpdate) String ¶
func (x *PlayerUpdate) String() string
type SpecialUserID ¶
type SpecialUserID int32
const (
SpecialUserID_HOST SpecialUserID = 0
)
func (SpecialUserID) Descriptor ¶
func (SpecialUserID) Descriptor() protoreflect.EnumDescriptor
func (SpecialUserID) Enum ¶
func (x SpecialUserID) Enum() *SpecialUserID
func (SpecialUserID) EnumDescriptor
deprecated
func (SpecialUserID) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpecialUserID.Descriptor instead.
func (SpecialUserID) Number ¶
func (x SpecialUserID) Number() protoreflect.EnumNumber
func (SpecialUserID) String ¶
func (x SpecialUserID) String() string
func (SpecialUserID) Type ¶
func (SpecialUserID) Type() protoreflect.EnumType
type UserToken ¶
type UserToken struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*UserToken) Descriptor
deprecated
func (*UserToken) ProtoMessage ¶
func (*UserToken) ProtoMessage()
func (*UserToken) ProtoReflect ¶
func (x *UserToken) ProtoReflect() protoreflect.Message