kafkaemployees

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCreatedAt

func (x *Event) GetCreatedAt() *timestamppb.Timestamp

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetTaskID

func (x *Event) GetTaskID() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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 (u *HRUser) CalcHash64() uint64

func (*HRUser) Descriptor deprecated

func (*HRUser) Descriptor() ([]byte, []int)

Deprecated: Use HRUser.ProtoReflect.Descriptor instead.

func (*HRUser) GetCreatedAt

func (x *HRUser) GetCreatedAt() *timestamppb.Timestamp

func (*HRUser) GetDeletedAt

func (x *HRUser) GetDeletedAt() *timestamppb.Timestamp

func (*HRUser) GetEmail

func (x *HRUser) GetEmail() string

func (*HRUser) GetFullName

func (x *HRUser) GetFullName() string

func (*HRUser) GetHashSum64

func (x *HRUser) GetHashSum64() uint64

func (*HRUser) GetId

func (x *HRUser) GetId() string

func (*HRUser) GetLocationID

func (x *HRUser) GetLocationID() string

func (*HRUser) GetOrganizationID

func (x *HRUser) GetOrganizationID() string

func (*HRUser) GetPhone

func (x *HRUser) GetPhone() string

func (*HRUser) GetPositionTitle

func (x *HRUser) GetPositionTitle() string

func (*HRUser) GetSupervisorID

func (x *HRUser) GetSupervisorID() string

func (*HRUser) GetUnitID

func (x *HRUser) GetUnitID() string

func (*HRUser) GetUpdatedAt

func (x *HRUser) GetUpdatedAt() *timestamppb.Timestamp

func (*HRUser) GetUserName

func (x *HRUser) GetUserName() string

func (*HRUser) IsZero

func (u *HRUser) IsZero() bool

func (*HRUser) ProtoMessage

func (*HRUser) ProtoMessage()

func (*HRUser) ProtoReflect

func (x *HRUser) ProtoReflect() protoreflect.Message

func (*HRUser) Reset

func (x *HRUser) Reset()

func (*HRUser) String

func (x *HRUser) String() string

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

type ProtoEvent interface {
	proto.Message
	GetEvent() *Event
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL