File tree 3 files changed +14
-16
lines changed
3 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 1
1
# cbsd-mq-router
2
2
3
- CBSD message queue router
4
-
3
+ CBSD message queue router: subscribe to events and deliver to the CBSD
5
4
Client + sample: https://github.com/cbsd/bs_router-client
6
5
7
6
# Installation
8
7
9
- setenv GOPATH $( realpath . )
10
-
11
- go get
12
-
13
- go build
14
-
15
- pkg update -f
8
+ Install dependency first:
16
9
10
+ ```
17
11
pkg install -y beanstalkd
18
-
19
12
service beanstalkd enable
20
-
21
13
sysrc beanstalkd_flags="-l 127.0.0.1"
22
-
23
14
service beanstalkd start
15
+ ```
16
+
17
+ Build cbsd-mq-router:
18
+
19
+ ```
20
+ setenv GOPATH $( realpath . )
21
+ go get
22
+ go build
23
+ pkg update -f
24
+ ```
24
25
25
- ./bs_router
Original file line number Diff line number Diff line change 3
3
"cbsdcolor" : false ,
4
4
"broker" : " beanstalkd" ,
5
5
"logfile" : " /dev/stdout" ,
6
- "imagelist" : " /usr/jails/tmp/bhyve-templates.json" ,
7
6
"beanstalkd" : {
8
7
"uri" : " 127.0.0.1:11300" ,
9
8
"tube" : " cbsd_zpool1" ,
Original file line number Diff line number Diff line change 1
- // CBSD Project 2013-2019
1
+ // CBSD Project 2013-2021
2
2
3
- // 0.1
4
3
// beanstalkd driven CBSD sample
5
4
package main
6
5
You can’t perform that action at this time.
0 commit comments