forked from kazuhitoyokoi/node-red-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flows.go
76 lines (75 loc) · 1.68 KB
/
flows.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package main
func flows() string { return `
[
{
"id": "8740d4c87aa226d5",
"type": "http request",
"z": "66e0c9fac19ba178",
"name": "APIからバス情報取得",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "https://kazuhitoyokoi.github.io/node-red-ogiri-nagoya/bus.json",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 220,
"y": 140,
"wires": [
[
"9ae96b81d3eb6fe2"
]
]
},
{
"id": "7d5ef118b8c6f3cb",
"type": "inject",
"z": "66e0c9fac19ba178",
"name": "開始時に実行",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 60,
"wires": [
[
"8740d4c87aa226d5"
]
]
},
{
"id": "9ae96b81d3eb6fe2",
"type": "debug",
"z": "66e0c9fac19ba178",
"name": "地図UIに位置情報を渡す",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 270,
"y": 220,
"wires": []
}
]
`}