Commit Graph

3974 Commits

Author SHA1 Message Date
Asim
f812613973 Add implementation for internal handlers and subscribers. They are not advertised to discovery 2016-01-08 14:02:32 +00:00
Asim
db8c24a971 Merge pull request #37 from jelmersnoeck/debug-interface
Debug: use the DebugHandler interface.
2016-01-07 17:55:54 +00:00
Jelmer Snoeck
3cefc39aff Debug: use the DebugHandler interface.
Without specifying the interface, DefaultDebugHandler has to be of type
*"github.com/micro/go-micro/server/debug".debug.
2016-01-07 10:15:30 +00:00
Asim
7401c44973 This is actually a useless error 2016-01-07 01:58:38 +00:00
Asim
76918fc703 Make the debug handler an actual thing that can be set by users 2016-01-06 19:24:54 +00:00
Asim
66107fd304 Merge pull request #36 from jelmersnoeck/extendable-health-checker
DebugHandler: add default health checker.
2016-01-06 17:14:59 +00:00
Jelmer Snoeck
0d749eb732 DebugHandler: add default health checker.
By using a DefaultHealthChecker - as with a DefaultName, DefaultServer,
... - it is possible to overwrite the default implementation. This means
we can now do extra actions in our health check that is necessary for
the applications specific needs.
2016-01-06 17:05:22 +00:00
Asim
8bf72a3325 Replace map[string]string with Context for extra options. map[string]string is essentially useless. Context can store anything 2016-01-06 16:25:12 +00:00
Asim
f467902304 update the example to message the naming of code generated protos 2016-01-06 12:37:35 +00:00
Asim
dee9cbb763 Merge pull request #35 from micro/codec
Reworking codec interface
2016-01-06 00:50:56 +00:00
Asim
ad4637d89b Lets strip out the rpcplus code 2016-01-05 21:13:20 +00:00
Asim
40cd086543 Strip some code from the client 2016-01-05 20:38:01 +00:00
Asim
f6a7ef7bc0 Add examples here too 2016-01-05 00:27:58 +00:00
Asim
bdab0cc18f Fuck my life, why do I even do this to myself 2016-01-04 23:27:54 +00:00
Asim
3e84c23591 Tell me what the registry is too 2016-01-04 23:27:44 +00:00
Asim
897115ed31 Fix some issues with initialisation 2016-01-04 23:07:56 +00:00
Asim
9ecbf0d71b Let me do some stuff with the global command 2016-01-04 11:25:58 +00:00
Asim
227adc490c Add broker and server to metadata 2016-01-04 01:27:05 +00:00
Asim
ecdaea7a67 syntax highlight the proto 2016-01-03 23:36:14 +00:00
Asim
d43d3e8efa Add transport dial timeout 2016-01-03 21:25:03 +00:00
Asim
332a229169 Add request timeout 2016-01-03 21:14:33 +00:00
Asim
1037663acf Add retries 2016-01-02 23:16:15 +00:00
Asim
b11e5789fe update client 2016-01-02 23:15:57 +00:00
Asim
3df078ce4e So much to configure, this is an ugly hack 2016-01-02 22:52:59 +00:00
Asim
6bf0affc75 Example of how to use wrappers with top level service 2016-01-02 22:32:23 +00:00
Asim
c4dabe2652 Merge pull request #30 from micro/micro
Experimental top level init
2016-01-02 19:22:56 +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
9e7e8742b4 Don't need server flag 2016-01-01 02:36:47 +00:00
Asim
210b810096 Fix the selectors 2016-01-01 01:29:40 +00:00
Asim
0d50b2eb32 Update top level init 2016-01-01 01:16:21 +00:00
Asim
d705d3fe50 Merge branch 'master' into micro 2015-12-31 18:56:05 +00:00
Asim
851b62c904 Merge pull request #34 from micro/options
Public Options so people can actually implement the interfaces
2015-12-31 18:19:12 +00:00
Asim
191e835aa9 Add extra options to be used by others that need them 2015-12-31 18:14:40 +00:00
Asim
64b45f7846 Update options to be public. This means people can implement the interfaces and actually use the options 2015-12-31 18:11:46 +00:00
Asim
c2154fd5cc Remove the ping 2015-12-31 18:11:26 +00:00
Asim
24e6840ea4 Merge branch 'master' into micro 2015-12-30 21:27:04 +00:00
Asim
bffd55f500 Channel rather than mutex to check is closed 2015-12-28 19:11:10 +00:00
Asim
10d2ad0de9 remove the print statements 2015-12-27 01:51:52 +00:00
Asim
d0b2b612f3 Fix http broker to allow multiple nodes for subscription, total hack 2015-12-27 01:17:53 +00:00
Asim
3dd911fb33 Stop recursive loop where its a recursive type 2015-12-25 01:06:51 +00:00
Asim
4f15d823c9 go fmt 2015-12-25 01:06:32 +00:00
Asim
34947f1be7 Merge pull request #32 from micro/broker
Update the broker interface to support acking and queue distribution
2015-12-24 20:03:24 +00:00
Asim
a941ff8fdb Blurgh compilation issues with main redeclared many times 2015-12-24 19:56:40 +00:00
Asim
6ac36e1cf6 Fix build 2015-12-24 19:52:27 +00:00
Asim
74714876f2 Add producer/consumer example with use of queue name for distribution of messages 2015-12-24 19:39:37 +00:00
Asim
8f3f0ed4b6 Merge pull request #33 from iheitlager/master
Reverse the ping option
2015-12-24 11:48:17 +00:00
Asim
c3e9ba6b85 Allow setting of actions 2015-12-23 22:45:40 +00:00