Documentation ¶
Index ¶
- Variables
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetCountry() string
- func (x *Address) GetLga() string
- func (x *Address) GetState() string
- func (x *Address) GetStreet() string
- func (x *Address) GetTown() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)deprecated
- func (x *Credential) GetCategory() string
- func (x *Credential) GetPassword() string
- func (x *Credential) GetToken() string
- func (*Credential) ProtoMessage()
- func (x *Credential) ProtoReflect() protoreflect.Message
- func (x *Credential) Reset()
- func (x *Credential) String() string
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetAccountId() string
- func (x *Person) GetCredential() []*Credential
- func (x *Person) GetProfile() *Profile
- func (x *Person) GetStaffId() bool
- func (x *Person) GetXId() string
- func (*Person) ProtoMessage()
- func (x *Person) ProtoReflect() protoreflect.Message
- func (x *Person) Reset()
- func (x *Person) String() string
- func (s *Person) ToJson() (any, error)
- type PersonOption
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAddress() *Address
- func (x *Profile) GetFirstName() string
- func (x *Profile) GetLastName() string
- func (x *Profile) GetNationalIdentity() string
- func (x *Profile) GetPhoneNumber() string
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_person_v1_person_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Street string `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"` Town string `protobuf:"bytes,2,opt,name=town,proto3" json:"town,omitempty"` Lga string `protobuf:"bytes,3,opt,name=lga,proto3" json:"lga,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetCountry ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Credential ¶
type Credential struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetCategory ¶
func (x *Credential) GetCategory() string
func (*Credential) GetPassword ¶
func (x *Credential) GetPassword() string
func (*Credential) GetToken ¶
func (x *Credential) GetToken() string
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type Person ¶
type Person struct { XId string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Profile *Profile `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"` Credential []*Credential `protobuf:"bytes,4,rep,name=credential,proto3" json:"credential,omitempty"` StaffId bool `protobuf:"varint,5,opt,name=staff_id,json=staffId,proto3" json:"staff_id,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetAccountId ¶
func (*Person) GetCredential ¶
func (x *Person) GetCredential() []*Credential
func (*Person) GetProfile ¶
func (*Person) GetStaffId ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
type PersonOption ¶
type PersonOption struct { }
type Profile ¶
type Profile struct { LastName string `protobuf:"bytes,1,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` NationalIdentity string `protobuf:"bytes,4,opt,name=national_identity,json=nationalIdentity,proto3" json:"national_identity,omitempty"` Address *Address `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAddress ¶
func (*Profile) GetFirstName ¶
func (*Profile) GetLastName ¶
func (*Profile) GetNationalIdentity ¶
func (*Profile) GetPhoneNumber ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.