Documentation
¶
Index ¶
- Variables
- type ConnectionType
- func (ConnectionType) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionType) Enum() *ConnectionType
- func (ConnectionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionType) Number() protoreflect.EnumNumber
- func (x ConnectionType) String() string
- func (ConnectionType) Type() protoreflect.EnumType
- type ConnectionUser
- func (*ConnectionUser) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionUser) GetDiscordId() int64
- func (x *ConnectionUser) GetGithubId() int64
- func (x *ConnectionUser) GetMinecraftId() string
- func (*ConnectionUser) ProtoMessage()
- func (x *ConnectionUser) ProtoReflect() protoreflect.Message
- func (x *ConnectionUser) Reset()
- func (x *ConnectionUser) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConnectionType_name = map[int32]string{ 0: "MINECRAFT", 1: "DISCORD", 2: "GITHUB", } ConnectionType_value = map[string]int32{ "MINECRAFT": 0, "DISCORD": 1, "GITHUB": 2, } )
Enum value maps for ConnectionType.
View Source
var File_account_conn_manager_models_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConnectionType ¶
type ConnectionType int32
const ( ConnectionType_MINECRAFT ConnectionType = 0 ConnectionType_DISCORD ConnectionType = 1 ConnectionType_GITHUB ConnectionType = 2 )
func (ConnectionType) Descriptor ¶
func (ConnectionType) Descriptor() protoreflect.EnumDescriptor
func (ConnectionType) Enum ¶
func (x ConnectionType) Enum() *ConnectionType
func (ConnectionType) EnumDescriptor
deprecated
func (ConnectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionType.Descriptor instead.
func (ConnectionType) Number ¶
func (x ConnectionType) Number() protoreflect.EnumNumber
func (ConnectionType) String ¶
func (x ConnectionType) String() string
func (ConnectionType) Type ¶
func (ConnectionType) Type() protoreflect.EnumType
type ConnectionUser ¶
type ConnectionUser struct { // minecraft_id of type UUID MinecraftId *string `protobuf:"bytes,1,opt,name=minecraft_id,json=minecraftId,proto3,oneof" json:"minecraft_id,omitempty"` // discord_id of type discord snowflake DiscordId *int64 `protobuf:"varint,2,opt,name=discord_id,json=discordId,proto3,oneof" json:"discord_id,omitempty"` // github_id is a plain incremental integer GithubId *int64 `protobuf:"varint,3,opt,name=github_id,json=githubId,proto3,oneof" json:"github_id,omitempty"` // contains filtered or unexported fields }
func (*ConnectionUser) Descriptor
deprecated
func (*ConnectionUser) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionUser.ProtoReflect.Descriptor instead.
func (*ConnectionUser) GetDiscordId ¶
func (x *ConnectionUser) GetDiscordId() int64
func (*ConnectionUser) GetGithubId ¶
func (x *ConnectionUser) GetGithubId() int64
func (*ConnectionUser) GetMinecraftId ¶
func (x *ConnectionUser) GetMinecraftId() string
func (*ConnectionUser) ProtoMessage ¶
func (*ConnectionUser) ProtoMessage()
func (*ConnectionUser) ProtoReflect ¶
func (x *ConnectionUser) ProtoReflect() protoreflect.Message
func (*ConnectionUser) Reset ¶
func (x *ConnectionUser) Reset()
func (*ConnectionUser) String ¶
func (x *ConnectionUser) String() string
Click to show internal directories.
Click to hide internal directories.