accountconnmanager

package
v0.0.0-...-66adcdc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Enum

func (x ConnectionType) Enum() *ConnectionType

func (ConnectionType) EnumDescriptor deprecated

func (ConnectionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionType.Descriptor instead.

func (ConnectionType) Number

func (ConnectionType) String

func (x ConnectionType) String() string

func (ConnectionType) Type

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL