This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +84
-16
lines changed Expand file tree Collapse file tree 7 files changed +84
-16
lines changed Original file line number Diff line number Diff line change 2
2
description : " Reference for Nitric's Go library - Register a job handler to with the Nitric Go SDK"
3
3
---
4
4
5
- # Go - job.handler ()
5
+ # Go - Job.Handler ()
6
6
7
7
Job handlers are the code that is run when a job request is submitted. These handlers should be written in a separate file to your services.
8
8
Original file line number Diff line number Diff line change 2
2
description : " Reference for Nitric's Go library - Submit a batch job request with the Nitric Go SDK"
3
3
---
4
4
5
- # Go - job.submit ()
5
+ # Go - Job.Submit ()
6
6
7
7
Jobs may be submitted from Nitric ` services ` or other ` batches ` using the ` submit ` method on the job reference. When submitting a job you can provide a payload that will be passed to the job handler function.
8
8
Original file line number Diff line number Diff line change 2
2
description : " Reference for Nitric's Go library - Create Batch Jobs with the Nitric Go SDK"
3
3
---
4
4
5
- # Go - job ()
5
+ # Go - NewJob ()
6
6
7
7
Creates a new Batch Job.
8
8
Original file line number Diff line number Diff line change @@ -71,6 +71,23 @@ export const DartReference: NavGroup = {
71
71
} ,
72
72
] ,
73
73
} ,
74
+ {
75
+ title : 'Batch' ,
76
+ items : [
77
+ {
78
+ title : 'job()' ,
79
+ href : '/reference/dart/batch/job' ,
80
+ } ,
81
+ {
82
+ title : 'job.handler()' ,
83
+ href : '/reference/dart/batch/job-handler' ,
84
+ } ,
85
+ {
86
+ title : 'job.submit()' ,
87
+ href : '/reference/dart/batch/job-submit' ,
88
+ } ,
89
+ ] ,
90
+ } ,
74
91
{
75
92
title : 'Key Value Stores' ,
76
93
items : [
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ export const GoReference: NavGroup = {
18
18
title : 'NewApi()' ,
19
19
href : '/reference/go/api/api' ,
20
20
} ,
21
+ {
22
+ title : 'NewJob()' ,
23
+ href : '/reference/go/batch/job' ,
24
+ } ,
21
25
{
22
26
title : 'NewKv()' ,
23
27
href : '/reference/go/keyvalue/keyvalue' ,
@@ -101,6 +105,19 @@ export const GoReference: NavGroup = {
101
105
} ,
102
106
] ,
103
107
} ,
108
+ {
109
+ title : 'Batch' ,
110
+ items : [
111
+ {
112
+ title : 'Job.Handler()' ,
113
+ href : '/reference/go/batch/job-handler' ,
114
+ } ,
115
+ {
116
+ title : 'Job.Submit()' ,
117
+ href : '/reference/go/batch/job-submit' ,
118
+ } ,
119
+ ] ,
120
+ } ,
104
121
{
105
122
title : 'Key Value Stores' ,
106
123
items : [
Original file line number Diff line number Diff line change @@ -67,6 +67,23 @@ export const NodeReference: NavGroup = {
67
67
} ,
68
68
] ,
69
69
} ,
70
+ {
71
+ title : 'Batch' ,
72
+ items : [
73
+ {
74
+ title : 'job()' ,
75
+ href : '/reference/nodejs/batch/job' ,
76
+ } ,
77
+ {
78
+ title : 'job.handler()' ,
79
+ href : '/reference/nodejs/batch/job-handler' ,
80
+ } ,
81
+ {
82
+ title : 'job.submit()' ,
83
+ href : '/reference/nodejs/batch/job-submit' ,
84
+ } ,
85
+ ] ,
86
+ } ,
70
87
{
71
88
title : 'HTTP' ,
72
89
items : [
Original file line number Diff line number Diff line change @@ -47,6 +47,23 @@ export const PyReference: NavGroup = {
47
47
} ,
48
48
] ,
49
49
} ,
50
+ {
51
+ title : 'Batch' ,
52
+ items : [
53
+ {
54
+ title : 'job()' ,
55
+ href : '/reference/python/batch/job' ,
56
+ } ,
57
+ {
58
+ title : 'job.handler()' ,
59
+ href : '/reference/python/batch/job-handler' ,
60
+ } ,
61
+ {
62
+ title : 'job.submit()' ,
63
+ href : '/reference/python/batch/job-submit' ,
64
+ } ,
65
+ ] ,
66
+ } ,
50
67
{
51
68
title : 'Key Value Stores' ,
52
69
items : [
@@ -72,19 +89,6 @@ export const PyReference: NavGroup = {
72
89
} ,
73
90
] ,
74
91
} ,
75
- {
76
- title : 'Sql' ,
77
- items : [
78
- {
79
- title : 'sql()' ,
80
- href : '/reference/python/sql/sql' ,
81
- } ,
82
- {
83
- title : 'sql.connection_string()' ,
84
- href : '/reference/python/sql/sql-connection-string' ,
85
- } ,
86
- ] ,
87
- } ,
88
92
{
89
93
title : 'Topics' ,
90
94
items : [
@@ -185,6 +189,19 @@ export const PyReference: NavGroup = {
185
189
} ,
186
190
] ,
187
191
} ,
192
+ {
193
+ title : 'SQL' ,
194
+ items : [
195
+ {
196
+ title : 'sql()' ,
197
+ href : '/reference/python/sql/sql' ,
198
+ } ,
199
+ {
200
+ title : 'sql.connection_string()' ,
201
+ href : '/reference/python/sql/sql-connection-string' ,
202
+ } ,
203
+ ] ,
204
+ } ,
188
205
{
189
206
title : 'Schedules' ,
190
207
items : [
You can’t perform that action at this time.
0 commit comments