user

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_user_account_proto protoreflect.FileDescriptor
View Source
var File_user_profile_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetEmail

func (x *Account) GetEmail() string

func (*Account) GetId

func (x *Account) GetId() int64

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountPassword

type AccountPassword struct {
	Account  *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Password string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountPassword) Descriptor deprecated

func (*AccountPassword) Descriptor() ([]byte, []int)

Deprecated: Use AccountPassword.ProtoReflect.Descriptor instead.

func (*AccountPassword) GetAccount

func (x *AccountPassword) GetAccount() *Account

func (*AccountPassword) GetPassword

func (x *AccountPassword) GetPassword() string

func (*AccountPassword) ProtoMessage

func (*AccountPassword) ProtoMessage()

func (*AccountPassword) ProtoReflect

func (x *AccountPassword) ProtoReflect() protoreflect.Message

func (*AccountPassword) Reset

func (x *AccountPassword) Reset()

func (*AccountPassword) String

func (x *AccountPassword) String() string

type Like

type Like struct {

	// these would make more sense as a oneof, but we're just using
	// string types for simplicity's sake in the sample.
	Movie string `protobuf:"bytes,1,opt,name=movie,proto3" json:"movie,omitempty"`
	Sport string `protobuf:"bytes,2,opt,name=sport,proto3" json:"sport,omitempty"`
	Game  string `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"`
	// contains filtered or unexported fields
}

func (*Like) Descriptor deprecated

func (*Like) Descriptor() ([]byte, []int)

Deprecated: Use Like.ProtoReflect.Descriptor instead.

func (*Like) GetGame

func (x *Like) GetGame() string

func (*Like) GetMovie

func (x *Like) GetMovie() string

func (*Like) GetSport

func (x *Like) GetSport() string

func (*Like) ProtoMessage

func (*Like) ProtoMessage()

func (*Like) ProtoReflect

func (x *Like) ProtoReflect() protoreflect.Message

func (*Like) Reset

func (x *Like) Reset()

func (*Like) String

func (x *Like) String() string

type Profile

type Profile struct {
	Id          int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string  `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Bio         string  `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty"`
	Likes       []*Like `protobuf:"bytes,4,rep,name=likes,proto3" json:"likes,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetBio

func (x *Profile) GetBio() string

func (*Profile) GetDisplayName

func (x *Profile) GetDisplayName() string

func (*Profile) GetId

func (x *Profile) GetId() int64

func (*Profile) GetLikes

func (x *Profile) GetLikes() []*Like

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

Jump to

Keyboard shortcuts

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