Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mgr = New()
Mgr is the global job log manager instance
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Get the job log specified by ID Get(ctx context.Context, uuid string) (jobLog *models.JobLog, err error) // Create the job log Create(ctx context.Context, jobLog *models.JobLog) (id int64, err error) // DeleteBefore the job log specified by time DeleteBefore(ctx context.Context, t time.Time) (id int64, err error) }
Manager is used for job log management
Click to show internal directories.
Click to hide internal directories.