Documentation ¶
Index ¶
- Variables
- type User
- type UserBase
- func (*UserBase) Descriptor() ([]byte, []int)deprecated
- func (x *UserBase) GetAccount() string
- func (x *UserBase) GetAvatar() string
- func (x *UserBase) GetBanned() bool
- func (x *UserBase) GetCreatedTs() int64
- func (x *UserBase) GetEmail() string
- func (x *UserBase) GetGender() uint64
- func (x *UserBase) GetId() uint64
- func (x *UserBase) GetJobDesc() string
- func (x *UserBase) GetPhone() string
- func (x *UserBase) GetStatus() string
- func (x *UserBase) GetUnlocktime() int64
- func (x *UserBase) GetUpdatedTs() int64
- func (x *UserBase) GetUsername() string
- func (*UserBase) ProtoMessage()
- func (x *UserBase) ProtoReflect() protoreflect.Message
- func (x *UserBase) Reset()
- func (x *UserBase) String() string
- type UserGroup
- func (*UserGroup) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroup) GetDescription() string
- func (x *UserGroup) GetName() string
- func (x *UserGroup) GetUsers() []*User
- func (*UserGroup) ProtoMessage()
- func (x *UserGroup) ProtoReflect() protoreflect.Message
- func (x *UserGroup) Reset()
- func (x *UserGroup) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sudo_protobuf_mpc_virtual_service_platform_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Base *UserBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Groups []*UserGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserBase ¶
type UserBase struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs int64 `protobuf:"varint,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,3,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` Account string `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"` Unlocktime int64 `protobuf:"varint,5,opt,name=unlocktime,proto3" json:"unlocktime,omitempty"` Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Gender uint64 `protobuf:"varint,8,opt,name=gender,proto3" json:"gender,omitempty"` Avatar string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"` Phone string `protobuf:"bytes,10,opt,name=phone,proto3" json:"phone,omitempty"` JobDesc string `protobuf:"bytes,11,opt,name=job_desc,json=jobDesc,proto3" json:"job_desc,omitempty"` Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"` Banned bool `protobuf:"varint,13,opt,name=banned,proto3" json:"banned,omitempty"` // contains filtered or unexported fields }
func (*UserBase) Descriptor
deprecated
func (*UserBase) GetAccount ¶
func (*UserBase) GetCreatedTs ¶
func (*UserBase) GetJobDesc ¶
func (*UserBase) GetUnlocktime ¶
func (*UserBase) GetUpdatedTs ¶
func (*UserBase) GetUsername ¶
func (*UserBase) ProtoMessage ¶
func (*UserBase) ProtoMessage()
func (*UserBase) ProtoReflect ¶
func (x *UserBase) ProtoReflect() protoreflect.Message
type UserGroup ¶
type UserGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Users []*User `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UserGroup) Descriptor
deprecated
func (*UserGroup) GetDescription ¶
func (*UserGroup) ProtoMessage ¶
func (*UserGroup) ProtoMessage()
func (*UserGroup) ProtoReflect ¶
func (x *UserGroup) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.