1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

remove clientCodec

This commit is contained in:
Asim Aslam 2019-01-09 17:33:28 +00:00
parent d004c9624b
commit 1561ccbc14
2 changed files with 1 additions and 7 deletions

View File

@ -45,12 +45,6 @@ type readWriteCloser struct {
rbuf *bytes.Buffer
}
type clientCodec interface {
Write(*request, interface{}) error
Read(*response, interface{}) error
Close() error
}
type request struct {
Service string
ServiceMethod string // format: "Service.Method"

View File

@ -13,7 +13,7 @@ type rpcStream struct {
closed chan bool
err error
request Request
codec clientCodec
codec *rpcCodec
context context.Context
}