Documentation ¶
Index ¶
- Constants
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetCreatedAt() *timestamppb.Timestamp
- func (x *Event) GetId() string
- func (x *Event) GetTaskID() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type HRUser
- func (u *HRUser) CalcHash64() uint64
- func (*HRUser) Descriptor() ([]byte, []int)deprecated
- func (x *HRUser) GetCreatedAt() *timestamppb.Timestamp
- func (x *HRUser) GetDeletedAt() *timestamppb.Timestamp
- func (x *HRUser) GetEmail() string
- func (x *HRUser) GetFullName() string
- func (x *HRUser) GetHashSum64() uint64
- func (x *HRUser) GetId() string
- func (x *HRUser) GetLocationID() string
- func (x *HRUser) GetOrganizationID() string
- func (x *HRUser) GetPhone() string
- func (x *HRUser) GetPositionTitle() string
- func (x *HRUser) GetSupervisorID() string
- func (x *HRUser) GetUnitID() string
- func (x *HRUser) GetUpdatedAt() *timestamppb.Timestamp
- func (x *HRUser) GetUserName() string
- func (u *HRUser) IsZero() bool
- func (*HRUser) ProtoMessage()
- func (x *HRUser) ProtoReflect() protoreflect.Message
- func (x *HRUser) Reset()
- func (x *HRUser) String() string
- func (u *HRUser) UpdateHash64()
- type HRUsersDelete
- func (*HRUsersDelete) Descriptor() ([]byte, []int)deprecated
- func (x *HRUsersDelete) GetEvent() *Event
- func (x *HRUsersDelete) GetUserIds() []string
- func (t *HRUsersDelete) Len() int
- func (*HRUsersDelete) ProtoMessage()
- func (x *HRUsersDelete) ProtoReflect() protoreflect.Message
- func (x *HRUsersDelete) Reset()
- func (x *HRUsersDelete) String() string
- type HRUsersModify
- func (*HRUsersModify) Descriptor() ([]byte, []int)deprecated
- func (x *HRUsersModify) GetEvent() *Event
- func (x *HRUsersModify) GetUsers() []*HRUser
- func (t *HRUsersModify) Len() int
- func (*HRUsersModify) ProtoMessage()
- func (x *HRUsersModify) ProtoReflect() protoreflect.Message
- func (x *HRUsersModify) Reset()
- func (x *HRUsersModify) String() string
- type ProtoEvent
Constants ¶
View Source
const ( UsersModifyTopicName = "employees.users-modify" UsersDeleteTopicName = "employees.users-delete" )
Variables ¶
View Source
var File_kafka_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` TaskID string `protobuf:"bytes,3,opt,name=taskID,proto3" json:"taskID,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetCreatedAt ¶
func (x *Event) GetCreatedAt() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type HRUser ¶
type HRUser struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` UserName string `protobuf:"bytes,5,opt,name=userName,proto3" json:"userName,omitempty"` FullName string `protobuf:"bytes,6,opt,name=fullName,proto3" json:"fullName,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,8,opt,name=phone,proto3" json:"phone,omitempty"` SupervisorID string `protobuf:"bytes,9,opt,name=supervisorID,proto3" json:"supervisorID,omitempty"` OrganizationID string `protobuf:"bytes,10,opt,name=organizationID,proto3" json:"organizationID,omitempty"` PositionTitle string `protobuf:"bytes,11,opt,name=positionTitle,proto3" json:"positionTitle,omitempty"` UnitID string `protobuf:"bytes,12,opt,name=unitID,proto3" json:"unitID,omitempty"` LocationID string `protobuf:"bytes,13,opt,name=locationID,proto3" json:"locationID,omitempty"` HashSum64 uint64 `protobuf:"varint,1000,opt,name=hashSum64,proto3" json:"hashSum64,omitempty"` // contains filtered or unexported fields }
func (*HRUser) CalcHash64 ¶
func (*HRUser) Descriptor
deprecated
func (*HRUser) GetCreatedAt ¶
func (x *HRUser) GetCreatedAt() *timestamppb.Timestamp
func (*HRUser) GetDeletedAt ¶
func (x *HRUser) GetDeletedAt() *timestamppb.Timestamp
func (*HRUser) GetFullName ¶
func (*HRUser) GetHashSum64 ¶
func (*HRUser) GetLocationID ¶
func (*HRUser) GetOrganizationID ¶
func (*HRUser) GetPositionTitle ¶
func (*HRUser) GetSupervisorID ¶
func (*HRUser) GetUpdatedAt ¶
func (x *HRUser) GetUpdatedAt() *timestamppb.Timestamp
func (*HRUser) GetUserName ¶
func (*HRUser) ProtoMessage ¶
func (*HRUser) ProtoMessage()
func (*HRUser) ProtoReflect ¶
func (x *HRUser) ProtoReflect() protoreflect.Message
func (*HRUser) UpdateHash64 ¶
func (u *HRUser) UpdateHash64()
type HRUsersDelete ¶
type HRUsersDelete struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` UserIds []string `protobuf:"bytes,2,rep,name=userIds,proto3" json:"userIds,omitempty"` // contains filtered or unexported fields }
func (*HRUsersDelete) Descriptor
deprecated
func (*HRUsersDelete) Descriptor() ([]byte, []int)
Deprecated: Use HRUsersDelete.ProtoReflect.Descriptor instead.
func (*HRUsersDelete) GetEvent ¶
func (x *HRUsersDelete) GetEvent() *Event
func (*HRUsersDelete) GetUserIds ¶
func (x *HRUsersDelete) GetUserIds() []string
func (*HRUsersDelete) Len ¶
func (t *HRUsersDelete) Len() int
func (*HRUsersDelete) ProtoMessage ¶
func (*HRUsersDelete) ProtoMessage()
func (*HRUsersDelete) ProtoReflect ¶
func (x *HRUsersDelete) ProtoReflect() protoreflect.Message
func (*HRUsersDelete) Reset ¶
func (x *HRUsersDelete) Reset()
func (*HRUsersDelete) String ¶
func (x *HRUsersDelete) String() string
type HRUsersModify ¶
type HRUsersModify struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Users []*HRUser `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*HRUsersModify) Descriptor
deprecated
func (*HRUsersModify) Descriptor() ([]byte, []int)
Deprecated: Use HRUsersModify.ProtoReflect.Descriptor instead.
func (*HRUsersModify) GetEvent ¶
func (x *HRUsersModify) GetEvent() *Event
func (*HRUsersModify) GetUsers ¶
func (x *HRUsersModify) GetUsers() []*HRUser
func (*HRUsersModify) Len ¶
func (t *HRUsersModify) Len() int
func (*HRUsersModify) ProtoMessage ¶
func (*HRUsersModify) ProtoMessage()
func (*HRUsersModify) ProtoReflect ¶
func (x *HRUsersModify) ProtoReflect() protoreflect.Message
func (*HRUsersModify) Reset ¶
func (x *HRUsersModify) Reset()
func (*HRUsersModify) String ¶
func (x *HRUsersModify) String() string
type ProtoEvent ¶
Click to show internal directories.
Click to hide internal directories.