protomodels

package
v0.0.0-...-dfd90ba Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID                   int64    `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"`
	Email                string   `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"`
	HashedPassword       string   `protobuf:"bytes,4,opt,name=HashedPassword,proto3" json:"HashedPassword,omitempty"`
	Name                 string   `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
	ProfileImage         string   `protobuf:"bytes,6,opt,name=ProfileImage,proto3" json:"ProfileImage,omitempty"`
	WebsiteUrl           string   `protobuf:"bytes,7,opt,name=WebsiteUrl,proto3" json:"WebsiteUrl,omitempty"`
	AccountType          string   `protobuf:"bytes,8,opt,name=AccountType,proto3" json:"AccountType,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetAccountType

func (m *User) GetAccountType() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetHashedPassword

func (m *User) GetHashedPassword() string

func (*User) GetID

func (m *User) GetID() int64

func (*User) GetName

func (m *User) GetName() string

func (*User) GetProfileImage

func (m *User) GetProfileImage() string

func (*User) GetUsername

func (m *User) GetUsername() string

func (*User) GetWebsiteUrl

func (m *User) GetWebsiteUrl() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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