user

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetBase

func (x *User) GetBase() *UserBase

func (*User) GetGroups

func (x *User) GetGroups() []*UserGroup

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UserBase.ProtoReflect.Descriptor instead.

func (*UserBase) GetAccount

func (x *UserBase) GetAccount() string

func (*UserBase) GetAvatar

func (x *UserBase) GetAvatar() string

func (*UserBase) GetBanned

func (x *UserBase) GetBanned() bool

func (*UserBase) GetCreatedTs

func (x *UserBase) GetCreatedTs() int64

func (*UserBase) GetEmail

func (x *UserBase) GetEmail() string

func (*UserBase) GetGender

func (x *UserBase) GetGender() uint64

func (*UserBase) GetId

func (x *UserBase) GetId() uint64

func (*UserBase) GetJobDesc

func (x *UserBase) GetJobDesc() string

func (*UserBase) GetPhone

func (x *UserBase) GetPhone() string

func (*UserBase) GetStatus

func (x *UserBase) GetStatus() string

func (*UserBase) GetUnlocktime

func (x *UserBase) GetUnlocktime() int64

func (*UserBase) GetUpdatedTs

func (x *UserBase) GetUpdatedTs() int64

func (*UserBase) GetUsername

func (x *UserBase) GetUsername() string

func (*UserBase) ProtoMessage

func (*UserBase) ProtoMessage()

func (*UserBase) ProtoReflect

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

func (*UserBase) Reset

func (x *UserBase) Reset()

func (*UserBase) String

func (x *UserBase) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UserGroup.ProtoReflect.Descriptor instead.

func (*UserGroup) GetDescription

func (x *UserGroup) GetDescription() string

func (*UserGroup) GetName

func (x *UserGroup) GetName() string

func (*UserGroup) GetUsers

func (x *UserGroup) GetUsers() []*User

func (*UserGroup) ProtoMessage

func (*UserGroup) ProtoMessage()

func (*UserGroup) ProtoReflect

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

func (*UserGroup) Reset

func (x *UserGroup) Reset()

func (*UserGroup) String

func (x *UserGroup) String() string

Jump to

Keyboard shortcuts

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