Documentation ¶
Index ¶
- Variables
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccount() string
- func (x *User) GetId() uint64
- func (x *User) GetMail() string
- func (x *User) GetName() string
- func (x *User) GetPassword() string
- func (x *User) GetPhone() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" xml:"id,attr"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Account string `protobuf:"bytes,17,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` Mail string `protobuf:"bytes,6,opt,name=mail,proto3" json:"email" validate:"email"` Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty" validate:"phone"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAccount ¶
func (*User) GetPassword ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.