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 22description : " Reference for Nitric's Go library - Register a job handler to with the Nitric Go SDK"
33---
44
5- # Go - job.handler ()
5+ # Go - Job.Handler ()
66
77Job 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.
88
Original file line number Diff line number Diff line change 22description : " Reference for Nitric's Go library - Submit a batch job request with the Nitric Go SDK"
33---
44
5- # Go - job.submit ()
5+ # Go - Job.Submit ()
66
77Jobs 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.
88
Original file line number Diff line number Diff line change 22description : " Reference for Nitric's Go library - Create Batch Jobs with the Nitric Go SDK"
33---
44
5- # Go - job ()
5+ # Go - NewJob ()
66
77Creates a new Batch Job.
88
Original file line number Diff line number Diff line change @@ -71,6 +71,23 @@ export const DartReference: NavGroup = {
7171 } ,
7272 ] ,
7373 } ,
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+ } ,
7491 {
7592 title : 'Key Value Stores' ,
7693 items : [
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ export const GoReference: NavGroup = {
1818 title : 'NewApi()' ,
1919 href : '/reference/go/api/api' ,
2020 } ,
21+ {
22+ title : 'NewJob()' ,
23+ href : '/reference/go/batch/job' ,
24+ } ,
2125 {
2226 title : 'NewKv()' ,
2327 href : '/reference/go/keyvalue/keyvalue' ,
@@ -101,6 +105,19 @@ export const GoReference: NavGroup = {
101105 } ,
102106 ] ,
103107 } ,
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+ } ,
104121 {
105122 title : 'Key Value Stores' ,
106123 items : [
Original file line number Diff line number Diff line change @@ -67,6 +67,23 @@ export const NodeReference: NavGroup = {
6767 } ,
6868 ] ,
6969 } ,
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+ } ,
7087 {
7188 title : 'HTTP' ,
7289 items : [
Original file line number Diff line number Diff line change @@ -47,6 +47,23 @@ export const PyReference: NavGroup = {
4747 } ,
4848 ] ,
4949 } ,
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+ } ,
5067 {
5168 title : 'Key Value Stores' ,
5269 items : [
@@ -72,19 +89,6 @@ export const PyReference: NavGroup = {
7289 } ,
7390 ] ,
7491 } ,
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- } ,
8892 {
8993 title : 'Topics' ,
9094 items : [
@@ -185,6 +189,19 @@ export const PyReference: NavGroup = {
185189 } ,
186190 ] ,
187191 } ,
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+ } ,
188205 {
189206 title : 'Schedules' ,
190207 items : [
You can’t perform that action at this time.
0 commit comments