jce2go

command module
v0.0.0-...-5296bda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 6 Imported by: 0

README

jce2go

jce 是一个类似于 pb 的二进制编码协议,最早是在腾讯 rpc 框架 tars 设计的,在腾讯内部广泛使用,erpc 默认使用的序列化协议基于 jce,对此进行了一些重新设计。

本工具将 jce 文件生成对应的 go 文件

原理

  1. 词法、语法分析生成语法分析树
  2. 根据语法分析树代码生成 go 序列化化文件
  3. 生成的文件依赖于基础 codec 编码文件

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
demo2go
base
DO NOT EDIT IT.
DO NOT EDIT IT.
test
DO NOT EDIT IT.
DO NOT EDIT IT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL