MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / Release

Method Release

internal/repository/sql_job.go:45–47  ·  view source on GitHub ↗

Release 释放一个任务

(ctx context.Context, jobId int64)

Source from the content-addressed store, hash-verified

43
44// Release 释放一个任务
45func (c *cronJobRepository) Release(ctx context.Context, jobId int64) error {
46 return c.dao.Release(ctx, jobId)
47}
48
49// UpdateTime 更新任务的时间
50func (c *cronJobRepository) UpdateTime(ctx context.Context, id int64) error {

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.65

Tested by

no test coverage detected