Documentation
¶
Index ¶
- Variables
- type UserConfig
- func (*UserConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UserConfig) GetId() string
- func (x *UserConfig) GetSecret() string
- func (x *UserConfig) GetUserLevel() uint32
- func (*UserConfig) ProtoMessage()
- func (x *UserConfig) ProtoReflect() protoreflect.Message
- func (x *UserConfig) Reset()
- func (x *UserConfig) String() string
- type UserManagerConfig
- func (*UserManagerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UserManagerConfig) GetUsers() []*UserConfig
- func (*UserManagerConfig) ProtoMessage()
- func (x *UserManagerConfig) ProtoReflect() protoreflect.Message
- func (x *UserManagerConfig) Reset()
- func (x *UserManagerConfig) String() string
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
Click to show internal directories.
Click to hide internal directories.