user

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protos_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UserConfig

type UserConfig struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserLevel uint32 `protobuf:"varint,2,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"`
	// uuid is string format
	Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*UserConfig) Descriptor deprecated

func (*UserConfig) Descriptor() ([]byte, []int)

Deprecated: Use UserConfig.ProtoReflect.Descriptor instead.

func (*UserConfig) GetId

func (x *UserConfig) GetId() string

func (*UserConfig) GetSecret

func (x *UserConfig) GetSecret() string

func (*UserConfig) GetUserLevel

func (x *UserConfig) GetUserLevel() uint32

func (*UserConfig) ProtoMessage

func (*UserConfig) ProtoMessage()

func (*UserConfig) ProtoReflect

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

func (*UserConfig) Reset

func (x *UserConfig) Reset()

func (*UserConfig) String

func (x *UserConfig) String() string

type UserManagerConfig

type UserManagerConfig struct {
	Users []*UserConfig `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*UserManagerConfig) Descriptor deprecated

func (*UserManagerConfig) Descriptor() ([]byte, []int)

Deprecated: Use UserManagerConfig.ProtoReflect.Descriptor instead.

func (*UserManagerConfig) GetUsers

func (x *UserManagerConfig) GetUsers() []*UserConfig

func (*UserManagerConfig) ProtoMessage

func (*UserManagerConfig) ProtoMessage()

func (*UserManagerConfig) ProtoReflect

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

func (*UserManagerConfig) Reset

func (x *UserManagerConfig) Reset()

func (*UserManagerConfig) String

func (x *UserManagerConfig) String() string

Jump to

Keyboard shortcuts

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