diff --git a/ch4-rpc/ch4-06-pb-option.md b/ch4-rpc/ch4-06-pb-option.md index f3d0839..79b18db 100644 --- a/ch4-rpc/ch4-06-pb-option.md +++ b/ch4-rpc/ch4-06-pb-option.md @@ -6,6 +6,8 @@ TODO 基本的用法,生成http路由,生成sdk +web框架??? + -- 基于pb扩展,打造一个自定义的rpc diff --git a/examples/ch4-03-rpc-hack/rpc-auth/main.go b/examples/ch4-03-rpc-hack/rpc-auth/main.go new file mode 100644 index 0000000..a6f7659 --- /dev/null +++ b/examples/ch4-03-rpc-hack/rpc-auth/main.go @@ -0,0 +1,6 @@ +package main + +func main() { + // todo + // tls +} diff --git a/examples/ch4-03-rpc-hack/rpc-context/main.go b/examples/ch4-03-rpc-hack/rpc-context/main.go new file mode 100644 index 0000000..d8d44f3 --- /dev/null +++ b/examples/ch4-03-rpc-hack/rpc-context/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + // todo +} diff --git a/examples/ch4-03-rpc-hack/rpc-reverse/main.go b/examples/ch4-03-rpc-hack/rpc-reverse/main.go new file mode 100644 index 0000000..d8d44f3 --- /dev/null +++ b/examples/ch4-03-rpc-hack/rpc-reverse/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + // todo +} diff --git a/examples/ch4-04-grpc/auth/dummy.txt b/examples/ch4-04-grpc/auth/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-04-grpc/basic/dummy.txt b/examples/ch4-04-grpc/basic/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-04-grpc/http-handle/dummy.txt b/examples/ch4-04-grpc/http-handle/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-04-grpc/reflect/dummy.txt b/examples/ch4-04-grpc/reflect/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-04-grpc/stream/dummy.txt b/examples/ch4-04-grpc/stream/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-05-grpc-hack/panic-and-log/dummy.txt b/examples/ch4-05-grpc-hack/panic-and-log/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-05-grpc-hack/rest-and-swagger/dummy.txt b/examples/ch4-05-grpc-hack/rest-and-swagger/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-05-grpc-hack/validate/dummy.txt b/examples/ch4-05-grpc-hack/validate/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-06-pb/http-router/dummy.txt b/examples/ch4-06-pb/http-router/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-06-pb/pb-option/dummy.txt b/examples/ch4-06-pb/pb-option/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-06-pb/pb-web-frameswork/dummy.txt b/examples/ch4-06-pb/pb-web-frameswork/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-06-pb/plugin-framework/dummy.txt b/examples/ch4-06-pb/plugin-framework/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-07-other-rpc/msgpack/dummy.txt b/examples/ch4-07-other-rpc/msgpack/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-07-other-rpc/protorpc/dummy.txt b/examples/ch4-07-other-rpc/protorpc/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-07-other-rpc/rpcx/dummy.txt b/examples/ch4-07-other-rpc/rpcx/dummy.txt new file mode 100644 index 0000000..e69de29 diff --git a/examples/ch4-07-other-rpc/thrift/dummy.txt b/examples/ch4-07-other-rpc/thrift/dummy.txt new file mode 100644 index 0000000..e69de29