Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConstFieldJobKey is used to recognize jobs of the same job type ConstFieldJobKey = "job_id" // ConstFieldWorkerKey is used to recognize workers of the same job ConstFieldWorkerKey = "worker_id" )
Variables ¶
This section is empty.
Functions ¶
func WithMasterID ¶
WithMasterID attaches master id to logger
func WithProjectInfo ¶
WithProjectInfo attaches project info to logger
func WithWorkerID ¶
WithWorkerID attaches worker id to logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.