Commit Graph

19 Commits

Author SHA1 Message Date
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