Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HRUsersModify ¶
type HRUsersModify kafkaemployees.HRUsersModify
func (*HRUsersModify) HREvent ¶
func (x *HRUsersModify) HREvent() kafkaemployees.ProtoEvent
func (*HRUsersModify) Len ¶
func (x *HRUsersModify) Len() int
func (*HRUsersModify) TopicName ¶
func (x *HRUsersModify) TopicName() string
type SourceUser ¶
type SourceUser struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` DeletedAt *time.Time `json:"deletedAt,omitempty"` Login string `json:"userName"` FullName string `json:"fullName"` Email string `json:"email"` Phone string `json:"phone"` SupervisorID string `json:"supervisorID"` OrganizationID string `json:"organizationID"` PositionTitle string `json:"positionTitle"` UnitID string `json:"unitID"` LocationID string `json:"locationID"` }
func (SourceUser) GetId ¶
func (e SourceUser) GetId() string
type UsersTask ¶
type UsersTask struct {
// contains filtered or unexported fields
}
func NewUsersTask ¶
func NewUsersTask(kfk *kafkaframe.Kafka) *UsersTask
func (*UsersTask) ConvertUser ¶
func (s *UsersTask) ConvertUser(ctx context.Context) func(SourceUser) *kafkaemployees.HRUser
Click to show internal directories.
Click to hide internal directories.