Documentation ¶
Index ¶
- Variables
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetBalance() float64
- func (x *User) GetEnabled() bool
- func (x *User) GetID() int64
- func (x *User) GetNick() string
- func (x *User) GetNum() string
- func (x *User) GetPrivate() string
- func (x *User) GetSub() []*User
- func (x *User) GetTotal() string
- func (x *User) GetUpdatedAt() int64
- func (x *User) GetUser() *User
- 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___example_pb_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Nick string `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"` UpdatedAt int64 `protobuf:"varint,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Private string `protobuf:"bytes,4,opt,name=private,proto3" json:"private,omitempty"` Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"` Balance float64 `protobuf:"fixed64,6,opt,name=balance,proto3" json:"balance,omitempty"` Total string `protobuf:"bytes,7,opt,name=total,proto3" json:"total,omitempty"` Num string `protobuf:"bytes,8,opt,name=num,proto3" json:"num,omitempty"` Sub []*User `protobuf:"bytes,9,rep,name=sub,proto3" json:"sub,omitempty"` User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
User message.
func (*User) Descriptor
deprecated
func (*User) GetBalance ¶ added in v0.0.3
func (*User) GetEnabled ¶ added in v0.0.2
func (*User) GetPrivate ¶ added in v0.0.2
func (*User) GetUpdatedAt ¶
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.