user

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use UserDB.ProtoReflect.Descriptor instead.

func (*UserDB) GetId

func (x *UserDB) GetId() string

func (*UserDB) GetUserRestrictions

func (x *UserDB) GetUserRestrictions() []*restriction.WrapRestrictions

func (*UserDB) GetUsername

func (x *UserDB) GetUsername() string

func (*UserDB) ProtoMessage

func (*UserDB) ProtoMessage()

func (*UserDB) ProtoReflect

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

func (*UserDB) Reset

func (x *UserDB) Reset()

func (*UserDB) String

func (x *UserDB) String() string

Jump to

Keyboard shortcuts

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