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 (o *Admin) LoadMap(values map[string]interface{})
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (*Admin) Schema() map[string]interface{}
- func (x *Admin) String() string
- type AdminPassword
- func (*AdminPassword) Descriptor() ([]byte, []int)deprecated
- func (x *AdminPassword) GetKey() string
- func (x *AdminPassword) GetPasswordHash() []byte
- func (o *AdminPassword) LoadMap(values map[string]interface{})
- func (*AdminPassword) ProtoMessage()
- func (x *AdminPassword) ProtoReflect() protoreflect.Message
- func (x *AdminPassword) Reset()
- func (*AdminPassword) Schema() map[string]interface{}
- func (x *AdminPassword) 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"` // first name of the admin FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"` // last name of the admin LastName string `protobuf:"bytes,3,opt,name=lastName,proto3" json:"lastName,omitempty"` // unique email of the admin Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // avatar image associated to the avatar Avatar []byte `protobuf:"bytes,5,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` // notes associated to the admin Notes *string `protobuf:"bytes,6,opt,name=notes,proto3,oneof" json:"notes,omitempty"` // contains filtered or unexported fields }
Account ...
func (*Admin) Descriptor
deprecated
func (*Admin) GetFirstName ¶
func (*Admin) GetLastName ¶
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
type AdminPassword ¶ added in v0.0.11
type AdminPassword struct { // key represents the unique identifier of the admin Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"` // password_hash is the hashed password of the admin PasswordHash []byte `protobuf:"bytes,2,opt,name=passwordHash,proto3" json:"passwordHash,omitempty"` // contains filtered or unexported fields }
Password ...
func (*AdminPassword) Descriptor
deprecated
added in
v0.0.11
func (*AdminPassword) Descriptor() ([]byte, []int)
Deprecated: Use AdminPassword.ProtoReflect.Descriptor instead.
func (*AdminPassword) GetKey ¶ added in v0.0.11
func (x *AdminPassword) GetKey() string
func (*AdminPassword) GetPasswordHash ¶ added in v0.0.11
func (x *AdminPassword) GetPasswordHash() []byte
func (*AdminPassword) LoadMap ¶ added in v0.0.11
func (o *AdminPassword) LoadMap(values map[string]interface{})
LoadMap populates struct fields from a map, handling decoding for special fields.
func (*AdminPassword) ProtoMessage ¶ added in v0.0.11
func (*AdminPassword) ProtoMessage()
func (*AdminPassword) ProtoReflect ¶ added in v0.0.11
func (x *AdminPassword) ProtoReflect() protoreflect.Message
func (*AdminPassword) Reset ¶ added in v0.0.11
func (x *AdminPassword) Reset()
func (*AdminPassword) Schema ¶ added in v0.0.11
func (*AdminPassword) Schema() map[string]interface{}
Specs ...
func (*AdminPassword) String ¶ added in v0.0.11
func (x *AdminPassword) String() string
Click to show internal directories.
Click to hide internal directories.