Documentation
¶
Index ¶
- Variables
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetAvatar() []byte
- func (x *Admin) GetEmail() string
- func (x *Admin) GetFirstName() string
- func (x *Admin) GetKey() string
- func (x *Admin) GetLastName() string
- func (x *Admin) GetNotes() string
- func (x *Admin) GetSubject() string
- func (o *Admin) LoadMap(values map[string]interface{})
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (*Admin) Specs() []byte
- func (x *Admin) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_admin_v1_admin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { // key represents the unique identifier of the admin Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"` // sub represents the unique identifier of the authenticator Subject string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` // first name of the admin FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"` // last name of the admin LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"` // unique email of the admin Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // avatar image associated to the avatar Avatar []byte `protobuf:"bytes,6,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` // notes associated to the admin Notes *string `protobuf:"bytes,7,opt,name=notes,proto3,oneof" json:"notes,omitempty"` // contains filtered or unexported fields }
func (*Admin) Descriptor
deprecated
func (*Admin) GetFirstName ¶
func (*Admin) GetLastName ¶
func (*Admin) GetSubject ¶
func (*Admin) LoadMap ¶
LoadMap populates struct fields from a map, handling decoding for special fields.
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.