Skip to content

[WIP] feature: support protobuf#439

Closed
xujianhai666 wants to merge 21 commits intoapache:feature/protocolfrom
xujianhai666:apache-pb
Closed

[WIP] feature: support protobuf#439
xujianhai666 wants to merge 21 commits intoapache:feature/protocolfrom
xujianhai666:apache-pb

Conversation

@xujianhai666
Copy link
Copy Markdown
Member

No description provided.

@xujianhai666 xujianhai666 changed the title feature: support protobuf [WIP] feature: support protobuf Mar 21, 2020
@xujianhai666 xujianhai666 changed the base branch from master to feature/protocol March 23, 2020 01:50
nameMaps = make(map[byte]string)
)

func init() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't init here, refer to other extension.


// doesn't encode url reserve character, url.QueryEscape will do this work
// reference: https://github.com/golang/go.git, src/net/url/url.go, Encode method
func ParamsUnescapeEncode(params url.Values) string {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see Url.tostring, and then decide to keep this method or not.

import (
"context"
"fmt"
"github.com/apache/dubbo-go/protocol/dubbo/impl/remoting"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the config dir should not referent impl.

k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a // indirect
)

replace github.com/apache/dubbo-go-hessian2 => /Users/jianhaixu/secrect/opensource/dubbo-go-hessian2
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should delete this replace block?

"github.com/pkg/errors"
)

/*
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move lisence to top of file

"reflect"
"regexp"

"github.com/pkg/errors"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split

errClientReadTimeout = perrors.New("client read timeout")
)

// TODO: 需要移动到 业务的实现
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace by english?

* limitations under the License.
*/

// TODO: zero.xu readwrite 中将client/server handler 分开
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace by english

* See the License for the specific language governing permissions and
* limitations under the License.
*/
package remoting
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add blank line between lisence and package name

gxsync "github.com/dubbogo/gost/sync"
)

// TODO: 需要移动到 业务的实现
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

english

import (
"fmt"

"github.com/apache/dubbo-go/common/constant"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split

"github.com/apache/dubbo-go/protocol/dubbo/impl"
"github.com/apache/dubbo-go/protocol/dubbo/impl/remoting"
"github.com/apache/dubbo-go/protocol/invocation"
"github.com/dubbogo/getty"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split

Comment on lines +31 to +32
"github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/mocktracer"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split

@AlexStocks AlexStocks closed this May 28, 2020
@flycash flycash linked an issue Jun 11, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align with Dubbo: protobuf support

5 participants