MCPcopy Index your code
hub / github.com/riverqueue/river / Kind

Method Kind

rivertype/river_type.go:31–31  ·  view source on GitHub ↗

Kind returns a unique string that identifies the type of job. It's used to determine which worker should work the job.

()

Source from the content-addressed store, hash-verified

29 // Kind returns a unique string that identifies the type of job. It's used to
30 // determine which worker should work the job.
31 Kind() string
32}
33
34// JobInsertResult is the result of a job insert, containing the inserted job

Callers 15

TestWorkFunction · 0.65
Test_Client_CommonFunction · 0.65
Test_Client_InsertFunction · 0.65
Test_Client_InsertTxFunction · 0.65
Test_Client_InsertManyFunction · 0.65
Test_Client_InsertManyTxFunction · 0.65
Test_Client_MaintenanceFunction · 0.65
testProducerFunction · 0.65

Implementers 15

ReconcileAccountArgsexample_unique_job_test.go
ContextClientArgsexample_client_from_context_test.go
JobWithHooksArgsexample_job_args_hooks_test.go
SnoozingArgsexample_job_snooze_test.go
SubscriptionArgsexample_subscription_test.go
SleepingArgsexample_job_cancel_from_client_test.go
NoOpArgscommon_test.go
SortArgsexample_insert_and_work_test.go
PeriodicJobArgsexample_periodic_job_test.go
CronJobArgsexample_cron_job_test.go
BatchInsertArgsexample_batch_insert_test.go
ResumableCursorArgsexample_resumable_cursor_job_test.go

Calls

no outgoing calls

Tested by 13

TestWorkFunction · 0.52
Test_Client_CommonFunction · 0.52
Test_Client_InsertFunction · 0.52
Test_Client_InsertTxFunction · 0.52
Test_Client_InsertManyFunction · 0.52
Test_Client_InsertManyTxFunction · 0.52
Test_Client_MaintenanceFunction · 0.52
testProducerFunction · 0.52