Skip to content

Commit a8dec45

Browse files
author
vlad
committed
update dependencies, improve doc
1 parent 99ec699 commit a8dec45

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The microservice implements the deferred task execution mechanism.
88
- The microservice interface uses the GRPC protocol.
99
- The execution trigger is sent asynchronously via RabbitMQ.
1010

11-
![microservice scheme](./scheme-v2.jpg)
11+
![microservice scheme](./scheme-v3.jpg)
1212

1313
### Build GRPC server
1414
After changing [task.proto](proto/task.proto), you need to run:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.15
55
require (
66
github.com/golang/protobuf v1.4.3
77
github.com/influxdata/influxdb v1.8.4
8-
github.com/pvelx/triggerhook v0.1.1
8+
github.com/pvelx/triggerhook v1.0.0-alpha
99
github.com/streadway/amqp v1.0.0
1010
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
1111
golang.org/x/net v0.0.0-20210119194325-5f4716e94777 // indirect

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R
221221
github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
222222
github.com/pvelx/triggerhook v0.1.1 h1:pIgYkqtEU1yQekaeTjwqcFFVs3/efx8ZA/FLRklW8+8=
223223
github.com/pvelx/triggerhook v0.1.1/go.mod h1:NFxRyC8s4nwoic56HQfp7m/sCYSudy1KTjNIM0lyEik=
224+
github.com/pvelx/triggerhook v1.0.0-alpha h1:KE00EN3JzqNe5AErnlA/7V2ZxfHF0NE5t8Qf/O0B+/E=
225+
github.com/pvelx/triggerhook v1.0.0-alpha/go.mod h1:NFxRyC8s4nwoic56HQfp7m/sCYSudy1KTjNIM0lyEik=
224226
github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc=
225227
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
226228
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=

scheme-v2.jpg

-108 KB
Binary file not shown.

scheme-v3.jpg

105 KB
Loading

0 commit comments

Comments
 (0)