Documentation ¶
Index ¶
- Variables
- type UserDB
- func (*UserDB) Descriptor() ([]byte, []int)deprecated
- func (x *UserDB) GetId() string
- func (x *UserDB) GetUserRestrictions() []*restriction.WrapRestrictions
- func (x *UserDB) GetUsername() string
- func (*UserDB) ProtoMessage()
- func (x *UserDB) ProtoReflect() protoreflect.Message
- func (x *UserDB) Reset()
- func (x *UserDB) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_user_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UserDB ¶
type UserDB struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` UserRestrictions []*restriction.WrapRestrictions `protobuf:"bytes,3,rep,name=user_restrictions,json=userRestrictions,proto3" json:"user_restrictions,omitempty"` // contains filtered or unexported fields }
func (*UserDB) Descriptor
deprecated
func (*UserDB) GetUserRestrictions ¶
func (x *UserDB) GetUserRestrictions() []*restriction.WrapRestrictions
func (*UserDB) GetUsername ¶
func (*UserDB) ProtoMessage ¶
func (*UserDB) ProtoMessage()
func (*UserDB) ProtoReflect ¶
func (x *UserDB) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.