Asim Aslam
4495ca3839
Use client.Call for non streaming requests
2019-08-16 17:24:17 +01:00
Asim Aslam
0b0eee41d0
functioning proxy code
2019-08-16 16:46:29 +01:00
Asim Aslam
991142cd57
No need to set request in the buffer
2019-08-16 14:42:45 +01:00
Asim Aslam
5a5b1b8f6e
only continue to stream when its a stream
2019-08-15 20:54:28 +01:00
Asim Aslam
58bc4c103f
go fmt
2019-08-15 20:54:09 +01:00
Asim Aslam
88817dc53f
Strip some dead code
2019-08-15 20:54:00 +01:00
Asim Aslam
ef04331b86
multiplexing cruft
2019-08-15 20:08:49 +01:00
Asim Aslam
f6b8045dd5
send client error if it exists
2019-08-15 15:22:53 +01:00
Asim Aslam
b776fbb766
add a pseudo socket implementation
2019-08-15 15:09:56 +01:00
Asim Aslam
a42de29f67
Do same for host port on deregister
2019-08-15 08:59:50 +01:00
Asim Aslam
0f6d09af33
go fmt
2019-08-15 08:47:32 +01:00
Asim Aslam
2dd5109eee
Merge pull request #669 from printfcoder/master
...
fix registry addr error for mq-rpc
2019-08-15 07:36:06 +01:00
Shu xian
e609095ba4
Merge pull request #2 from micro/master
...
merge
2019-08-15 08:38:08 +08:00
Asim Aslam
4843f09afa
Merge pull request #670 from milosgajdos83/loopback-msg-fix
...
Fixing the tunnel loopback messaging
2019-08-14 17:28:15 +01:00
Milos Gajdos
f9eddf1e6f
Fixing the tunnel loopback messaging
2019-08-14 17:14:39 +01:00
Shu xian
f19308f1e6
Merge pull request #1 from micro/master
...
merge
2019-08-14 22:02:41 +08:00
Asim Aslam
8f0c2e0412
add a better tunnel test
2019-08-14 14:38:17 +01:00
Shu Xian
bf0e46dc0d
fix registry addr error for mq-rpc
2019-08-14 21:32:28 +08:00
Asim Aslam
15975d2903
Merge pull request #668 from milosgajdos83/tun-token-loopback
...
[WIP] Tunnel loopback connections
2019-08-14 14:32:18 +01:00
Milos Gajdos
9f2f0e3cea
Moved Close method to the bottom
2019-08-14 13:26:23 +01:00
Milos Gajdos
151bcf0ea1
Send and receive on loopback tunnel interface
2019-08-14 13:00:10 +01:00
Asim Aslam
dc0fbfc3c0
Merge pull request #666 from unistack-org/log
...
export log levels and reverse log level order
2019-08-14 07:41:01 +01:00
Milos Gajdos
e607485c6b
Check for token in every received message.
2019-08-14 01:23:03 +01:00
70d0029658
add warn log level
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-08-14 02:26:51 +03:00
a606813fdf
export log levels and reverse log level order
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-08-14 02:18:22 +03:00
Milos Gajdos
750267b308
first commit to draft up a way for Sending messages to loopback
2019-08-13 20:11:23 +01:00
Asim Aslam
7ce0305db4
only operate on clients that are the same as the server
2019-08-13 16:08:56 +01:00
Asim Aslam
c39591af0e
add a mux package for the proxy
2019-08-13 15:21:51 +01:00
Asim Aslam
fedc6be3e6
Merge pull request #663 from milosgajdos83/router-start
...
Add Start method to router
2019-08-13 08:12:56 +01:00
Milos Gajdos
cb1679fd8d
Add Start method to router
...
Added Start to router packages.
Fixed potential deadlocks.
2019-08-12 22:23:46 +01:00
Asim Aslam
c0a676bfa9
Only check the router status if the lookup fails
2019-08-12 17:06:08 +01:00
Asim Aslam
cb4e376c64
Update go mod
2019-08-12 12:35:09 +01:00
Asim Aslam
c2c8182a5b
delete tunnel headers and add some TODOs
2019-08-11 21:53:40 +01:00
Asim Aslam
01cb146e0d
send message once after creating socket
2019-08-11 18:24:16 +01:00
Asim Aslam
d0d729a789
fix the tunnel execution
2019-08-11 18:11:33 +01:00
Asim Aslam
113d87d855
Merge branch 'master' of ssh://github.com/micro/go-micro
2019-08-11 16:15:30 +01:00
Asim Aslam
56df10f68b
use keepalive in quic by default
2019-08-11 16:12:31 +01:00
Asim Aslam
3a5428fb36
Merge pull request #660 from xpunch/serviceNotFoundIssue
...
Service not found issue
2019-08-11 12:44:27 +01:00
johnson
178a3b3d8e
Merge remote-tracking branch 'origin/master' into serviceNotFoundIssue
...
# Conflicts:
# client/grpc/grpc.go
2019-08-11 19:34:00 +08:00
johnson
de34f259ba
update service not found error tooltip
...
fixing test failed issue
change back error type
change registry.ErrNotFound back to selector.ErrNotFound
change back error type
change registry.ErrNotFound back to selector.ErrNotFound
remove the single node tunnel test
Fix read yaml config from memory
package main
import (
"fmt"
"github.com/micro/go-micro/config"
"github.com/micro/go-micro/config/source/memory"
)
var configData = []byte(`
---
a: 1234
`)
func main() {
memorySource := memory.NewSource(
memory.WithYAML(configData),
)
// Create new config
conf := config.NewConfig()
// Load file source
conf.Load(memorySource)
fmt.Println(string(conf.Bytes()))
}
2019-08-11 19:31:22 +08:00
potato
81b68a1d7f
Merge pull request #4 from micro/master
...
update fork
2019-08-11 19:05:49 +08:00
Asim Aslam
1a600810a7
Merge pull request #661 from XiaoLer/patch-2
...
Fix read yaml config from memory
2019-08-11 12:03:18 +01:00
potato
94127ae1aa
Merge pull request #3 from micro/master
...
update fork
2019-08-11 18:24:57 +08:00
刘小乐
cd2ac648ff
Fix read yaml config from memory
...
package main
import (
"fmt"
"github.com/micro/go-micro/config"
"github.com/micro/go-micro/config/source/memory"
)
var configData = []byte(`
---
a: 1234
`)
func main() {
memorySource := memory.NewSource(
memory.WithYAML(configData),
)
// Create new config
conf := config.NewConfig()
// Load file source
conf.Load(memorySource)
fmt.Println(string(conf.Bytes()))
}
2019-08-11 18:05:35 +08:00
Asim Aslam
e613b0c205
remove the single node tunnel test
2019-08-11 09:54:02 +01:00
potato
57dacf1831
Merge pull request #2 from micro/master
...
update fork
2019-08-11 10:22:33 +08:00
Asim Aslam
8986b3135f
Strip logging
2019-08-10 18:46:54 +01:00
Asim Aslam
6dd3ea1853
Remove listen check
2019-08-10 18:44:50 +01:00
Asim Aslam
2c66e94045
fix some tunnel bugs like races and duplicate messages...
2019-08-10 16:37:49 +01:00
Asim Aslam
c1ff3ceee4
Add more verbose not found error
2019-08-09 12:31:29 +01:00