Commit Graph

819 Commits

Author SHA1 Message Date
Sander van Harmelen
4bc44d79c6 Improve the UX for users of the errors package.
By making the error helper functions variadic functions, you can pass either a string (like the existing behaviour) or a format and verbs that will then be formatted for you.

This doesn’t break any existing API’s, but it prevents people using this package to have to call `fmt.Sprintf` whenever they would like to format the error detail.
2017-05-31 15:29:03 +02:00
Asim Aslam
a7312f5c7e log panics 2017-05-16 19:14:00 +01:00
Asim Aslam
4cb22b5969 Merge pull request #167 from micro/log
make use of micro/go-log
2017-05-12 17:02:55 +01:00
Asim Aslam
5bce20627f Switch that back to Fatal since we've added the convenience method 2017-05-12 15:14:54 +01:00
Asim Aslam
bab586b71e make use of micro/go-log 2017-05-11 20:43:42 +01:00
Asim Aslam
39fb03fba6 Merge pull request #165 from foxliu20/master
fix version option in cmd
2017-05-09 12:25:36 +01:00
xueyun.liu
4edb8650e5 fix version option in cmd 2017-05-09 15:49:59 +08:00
Asim Aslam
e55e5033b8 Merge pull request #160 from emilh91/patch-1
Update consul_watcher.go
2017-04-26 08:54:24 +01:00
Emil Huseynaliev
9e1550db53 Update consul_watcher.go
`WatchPlan` was renamed to `Plan` in the consul `watch` package in commit d7e23857ad
2017-04-25 16:38:35 -04:00
Asim Aslam
90ed1390ee fix broken test 2017-04-17 15:31:50 +01:00
Asim Aslam
33b1cea29d Don't create new options 2017-04-17 14:57:43 +01:00
Asim Aslam
742b83cbb1 Merge pull request #158 from Taik/master
Add Retry option for clients
2017-04-13 13:26:15 +01:00
Thinh Nguyen
ea34e23118
Add Retry option for clients 2017-04-12 16:47:40 -04: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
a933aa79c6 Merge pull request #155 from micro/sugar
Syntactic sugar for pubsub
2017-03-30 14:44:26 +01:00
Asim Aslam
d226bdf2d4 Syntactic sugar for pubsub 2017-03-18 19:00:11 +00:00
Asim Aslam
0c2c53e9af Merge pull request #151 from wangkechun/fix-fmt
fix fmt str
2017-02-25 15:03:17 +00:00
wangkechun
059b9d36d7 fix fmt str 2017-02-25 22:53:25 +08:00
Asim Aslam
0f75420692 switch tip to 1.8rc3 2017-02-15 15:21:36 +00:00
Asim Aslam
bd36b302c1 force build 2017-02-15 15:17:10 +00:00
Asim Aslam
47039fc625 update ja-micro links 2017-02-15 14:31:20 +00:00
Asim Aslam
d76ed89f03 update blog links 2017-02-11 14:26:47 +00:00
Asim Aslam
9f17b91fcb add link to docs 2017-02-10 12:36:42 +00:00
Asim Aslam
6f509c0645 update readme 2017-02-07 18:33:50 +00:00
Asim Aslam
06624ea7e4 further nitpick 2017-01-22 14:16:16 +00:00
Asim Aslam
e9d5057417 nitpick readme 2017-01-22 14:12:53 +00:00
Asim Aslam
238c99d228 rename file to please the OCD gods 2017-01-12 20:38:43 +00:00
Asim Aslam
66ef6b67ca add support for port range in http broker 2017-01-12 14:11:25 +00:00
Asim Aslam
a47d916b50 move ip func 2017-01-12 13:52:49 +00:00
Asim Aslam
a9889730d6 move addr extractor to misc 2017-01-12 13:20:34 +00:00
Asim Aslam
fd78e1d432 add comments for registration 2017-01-07 22:51:34 +00:00
Asim Aslam
4d4db84d5d fix for godoc 2017-01-07 15:05:51 +00:00
Asim Aslam
942985ce51 add service test and shutdown based on context 2017-01-07 14:52:23 +00:00
Asim Aslam
e84e5ae303 make features a bullet list 2017-01-06 20:06:58 +00:00
Asim Aslam
21bb57417d fix links 2017-01-05 15:12:30 +00:00
Asim Aslam
d1c12e4302 move go-micro examples links 2017-01-05 15:09:27 +00:00
Asim Aslam
d4a0b2801f update examples link 2017-01-05 14:34:08 +00:00
Asim Aslam
a61cd39d09 fix import 2017-01-04 16:43:43 +00:00
Asim Aslam
8d2e2e5dbe add plugin build section 2017-01-04 14:54:31 +00:00
Asim Aslam
19b3ad97a6 update travis 2017-01-01 18:51:33 +00:00
Asim Aslam
dc89b56bd0 update readme 2016-12-25 20:57:27 +00:00
Asim Aslam
299a7de381 update readme 2016-12-25 20:53:08 +00:00
Asim Aslam
d606d00f35 superfluous logging 2016-12-15 20:45:27 +00:00
Asim Aslam
71d717a06d strip doc.go files 2016-12-14 15:41:48 +00:00
Asim Aslam
4a1e5b34ee update service example readme 2016-12-08 12:34:02 +00:00
Asim Aslam
3a1d33f553 nitpick readme 2016-12-07 16:54:19 +00:00
Asim Aslam
475e584e15 Merge pull request #143 from micro/codec
Add configurable codecs for broker/transport
2016-12-06 19:44:45 +00:00
Asim Aslam
095793ee96 handle codec and transport errors 2016-12-06 19:40:44 +00:00
Asim Aslam
369c02c900 Remove the duplication of this codec code 2016-12-06 19:07:11 +00:00