1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-30 08:06:40 +02:00
Commit Graph

30 Commits

Author SHA1 Message Date
Asim Aslam
a5ce3e32da Support plugin loading on service.Init 2019-09-09 20:17:36 -07:00
Asim Aslam
3adce58eb2 Add monitor/debug packages 2019-08-06 17:53:14 +01:00
Asim Aslam
c350e19552 Move cmd => config/cmd 2019-06-21 13:36:11 +01:00
Asim Aslam
539b8c1a3b Move RegisterInterval into the server 2019-01-24 13:22:17 +00:00
Asim Aslam
56735b4427 add flags for register ttl and interval 2018-04-06 14:03:39 +01:00
Shulhan
a54dee31de [lint] service.Init: ignore error by assigning it to blank identifier 2018-03-13 17:51:33 +07:00
Shulhan
1bd541b69e service.Run: replace signal SIGKILL with SIGQUIT
According to "os/signal" documentation [1] and libc manual [2], SIGKILL
may not be caught by a program.

[1] https://godoc.org/os/signal
[2] https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
2018-03-13 17:45:34 +07:00
Shulhan
e769802939 service.Run: simplify return statement 2018-03-13 17:40:13 +07:00
Asim Aslam
ada9ef48cf Remove whitespace 2017-11-09 13:51:40 +00:00
weisd
6385bf743c add log when register err 2017-10-25 14:23:58 +08:00
Uffy
f6165f35c0 import sorting 2017-10-09 20:55:03 +08:00
Uffy
ae3f59a2f5 use sync.Once instead of chan
sync.Once is more clear and faster than chan.
2017-10-09 15:47:28 +08:00
Asim Aslam
33b1cea29d Don't create new options 2017-04-17 14:57:43 +01:00
Asim Aslam
d7dc4e618b process opts on multiple init calls 2017-03-30 19:44:01 +01:00
Asim Aslam
b43985401a on service.Init only process options once 2017-03-30 17:15:59 +01:00
Asim Aslam
942985ce51 add service test and shutdown based on context 2017-01-07 14:52:23 +00:00
Asim
8b76e277bc Make it possible to call service.Init multiple times 2016-05-06 12:21:41 +01:00
Asim
9ae0956cea Move context to metadata 2016-01-28 17:55:28 +00:00
Asim
013d1de2c4 Prefer RegisterTTL set through Init 2016-01-27 12:23:18 +00:00
Asim
7183601d3b Strip the classic aslam comments 2016-01-27 00:26:29 +00:00
Asim
5ec9d561a6 meh 2016-01-26 23:32:27 +00:00
Asim
3df078ce4e So much to configure, this is an ugly hack 2016-01-02 22:52:59 +00:00
Asim
7a02bda06b Set package to micro 2016-01-02 19:14:56 +00:00
Asim
3b56a62589 Update the way flags are used 2016-01-02 19:12:17 +00:00
Asim
1f1bc27421 Make command internal 2016-01-02 00:38:57 +00:00
Asim
59a667130c Update help printer 2016-01-01 02:45:15 +00:00
Asim
0d50b2eb32 Update top level init 2016-01-01 01:16:21 +00:00
Asim
651e9f8836 rename wrap 2015-12-23 00:02:42 +00:00
Asim
0072b6e8f2 actually wait on the signal 2015-12-21 01:41:36 +00:00
Asim
2c983ef021 Experimental top level init 2015-12-20 23:50:16 +00:00