├── .gitignore ├── Interceptor.png ├── README.md ├── api-login.2fcc9f35.jpg ├── architecture_introduction_diagram.svg ├── banner.png ├── client ├── gen_ts.sh └── miniprogram │ ├── app.js │ ├── app.json │ ├── app.ts │ ├── app.wxss │ ├── index.d.ts │ ├── package.json │ ├── pages │ ├── index │ │ ├── index.js │ │ ├── index.json │ │ ├── index.ts │ │ ├── index.wxml │ │ └── index.wxss │ └── logs │ │ ├── logs.js │ │ ├── logs.json │ │ ├── logs.ts │ │ ├── logs.wxml │ │ └── logs.wxss │ ├── project.config.json │ ├── service │ ├── proto_gen │ │ ├── auth │ │ │ ├── auth_pb.d.ts │ │ │ └── auth_pb.js │ │ └── todo │ │ │ ├── todo_pb.d.ts │ │ │ └── todo_pb.js │ ├── sdk.ts │ └── todo.ts │ ├── sitemap.json │ ├── tsconfig.json │ ├── utils │ ├── util.js │ └── util.ts │ └── yarn.lock ├── microsvcs ├── auth │ ├── api │ │ ├── auth.proto │ │ ├── auth.yaml │ │ └── gen │ │ │ └── v1 │ │ │ ├── auth.pb.go │ │ │ ├── auth.pb.gw.go │ │ │ └── auth_grpc.pb.go │ ├── auth │ │ └── auth.go │ ├── main.go │ ├── private.key │ ├── token │ │ ├── jwt.go │ │ └── jwt_test.go │ └── wechat │ │ └── wechat.go ├── dao │ ├── mongo.go │ └── mongo_test.go ├── gateway │ └── main.go ├── gen.sh ├── go.mod ├── go.sum ├── shared │ ├── auth │ │ ├── auth.go │ │ ├── public.key │ │ └── token │ │ │ ├── token.go │ │ │ └── token_test.go │ ├── mongo │ │ ├── mongo.go │ │ └── testing │ │ │ └── mongotesting.go │ └── server │ │ └── grpc.go └── todo │ ├── api │ ├── gen │ │ └── v1 │ │ │ ├── todo.pb.go │ │ │ ├── todo.pb.gw.go │ │ │ └── todo_grpc.pb.go │ ├── todo.proto │ └── todo.yaml │ ├── main.go │ └── todo │ └── todo.go └── mingiprogram-v2.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/.gitignore -------------------------------------------------------------------------------- /Interceptor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/Interceptor.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/README.md -------------------------------------------------------------------------------- /api-login.2fcc9f35.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/api-login.2fcc9f35.jpg -------------------------------------------------------------------------------- /architecture_introduction_diagram.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/architecture_introduction_diagram.svg -------------------------------------------------------------------------------- /banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/banner.png -------------------------------------------------------------------------------- /client/gen_ts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/gen_ts.sh -------------------------------------------------------------------------------- /client/miniprogram/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/app.js -------------------------------------------------------------------------------- /client/miniprogram/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/app.json -------------------------------------------------------------------------------- /client/miniprogram/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/app.ts -------------------------------------------------------------------------------- /client/miniprogram/app.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/app.wxss -------------------------------------------------------------------------------- /client/miniprogram/index.d.ts: -------------------------------------------------------------------------------- 1 | interface IAppOption { 2 | globalData: {} 3 | } -------------------------------------------------------------------------------- /client/miniprogram/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/package.json -------------------------------------------------------------------------------- /client/miniprogram/pages/index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/index/index.js -------------------------------------------------------------------------------- /client/miniprogram/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /client/miniprogram/pages/index/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/index/index.ts -------------------------------------------------------------------------------- /client/miniprogram/pages/index/index.wxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/index/index.wxml -------------------------------------------------------------------------------- /client/miniprogram/pages/index/index.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/index/index.wxss -------------------------------------------------------------------------------- /client/miniprogram/pages/logs/logs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/logs/logs.js -------------------------------------------------------------------------------- /client/miniprogram/pages/logs/logs.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "查看启动日志", 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /client/miniprogram/pages/logs/logs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/logs/logs.ts -------------------------------------------------------------------------------- /client/miniprogram/pages/logs/logs.wxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/logs/logs.wxml -------------------------------------------------------------------------------- /client/miniprogram/pages/logs/logs.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/pages/logs/logs.wxss -------------------------------------------------------------------------------- /client/miniprogram/project.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/project.config.json -------------------------------------------------------------------------------- /client/miniprogram/service/proto_gen/auth/auth_pb.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/service/proto_gen/auth/auth_pb.d.ts -------------------------------------------------------------------------------- /client/miniprogram/service/proto_gen/auth/auth_pb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/service/proto_gen/auth/auth_pb.js -------------------------------------------------------------------------------- /client/miniprogram/service/proto_gen/todo/todo_pb.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/service/proto_gen/todo/todo_pb.d.ts -------------------------------------------------------------------------------- /client/miniprogram/service/proto_gen/todo/todo_pb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/service/proto_gen/todo/todo_pb.js -------------------------------------------------------------------------------- /client/miniprogram/service/sdk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/service/sdk.ts -------------------------------------------------------------------------------- /client/miniprogram/service/todo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/service/todo.ts -------------------------------------------------------------------------------- /client/miniprogram/sitemap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/sitemap.json -------------------------------------------------------------------------------- /client/miniprogram/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/tsconfig.json -------------------------------------------------------------------------------- /client/miniprogram/utils/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/utils/util.js -------------------------------------------------------------------------------- /client/miniprogram/utils/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/utils/util.ts -------------------------------------------------------------------------------- /client/miniprogram/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/client/miniprogram/yarn.lock -------------------------------------------------------------------------------- /microsvcs/auth/api/auth.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/api/auth.proto -------------------------------------------------------------------------------- /microsvcs/auth/api/auth.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/api/auth.yaml -------------------------------------------------------------------------------- /microsvcs/auth/api/gen/v1/auth.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/api/gen/v1/auth.pb.go -------------------------------------------------------------------------------- /microsvcs/auth/api/gen/v1/auth.pb.gw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/api/gen/v1/auth.pb.gw.go -------------------------------------------------------------------------------- /microsvcs/auth/api/gen/v1/auth_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/api/gen/v1/auth_grpc.pb.go -------------------------------------------------------------------------------- /microsvcs/auth/auth/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/auth/auth.go -------------------------------------------------------------------------------- /microsvcs/auth/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/main.go -------------------------------------------------------------------------------- /microsvcs/auth/private.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/private.key -------------------------------------------------------------------------------- /microsvcs/auth/token/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/token/jwt.go -------------------------------------------------------------------------------- /microsvcs/auth/token/jwt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/token/jwt_test.go -------------------------------------------------------------------------------- /microsvcs/auth/wechat/wechat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/auth/wechat/wechat.go -------------------------------------------------------------------------------- /microsvcs/dao/mongo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/dao/mongo.go -------------------------------------------------------------------------------- /microsvcs/dao/mongo_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/dao/mongo_test.go -------------------------------------------------------------------------------- /microsvcs/gateway/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/gateway/main.go -------------------------------------------------------------------------------- /microsvcs/gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/gen.sh -------------------------------------------------------------------------------- /microsvcs/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/go.mod -------------------------------------------------------------------------------- /microsvcs/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/go.sum -------------------------------------------------------------------------------- /microsvcs/shared/auth/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/auth/auth.go -------------------------------------------------------------------------------- /microsvcs/shared/auth/public.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/auth/public.key -------------------------------------------------------------------------------- /microsvcs/shared/auth/token/token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/auth/token/token.go -------------------------------------------------------------------------------- /microsvcs/shared/auth/token/token_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/auth/token/token_test.go -------------------------------------------------------------------------------- /microsvcs/shared/mongo/mongo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/mongo/mongo.go -------------------------------------------------------------------------------- /microsvcs/shared/mongo/testing/mongotesting.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/mongo/testing/mongotesting.go -------------------------------------------------------------------------------- /microsvcs/shared/server/grpc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/shared/server/grpc.go -------------------------------------------------------------------------------- /microsvcs/todo/api/gen/v1/todo.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/api/gen/v1/todo.pb.go -------------------------------------------------------------------------------- /microsvcs/todo/api/gen/v1/todo.pb.gw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/api/gen/v1/todo.pb.gw.go -------------------------------------------------------------------------------- /microsvcs/todo/api/gen/v1/todo_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/api/gen/v1/todo_grpc.pb.go -------------------------------------------------------------------------------- /microsvcs/todo/api/todo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/api/todo.proto -------------------------------------------------------------------------------- /microsvcs/todo/api/todo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/api/todo.yaml -------------------------------------------------------------------------------- /microsvcs/todo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/main.go -------------------------------------------------------------------------------- /microsvcs/todo/todo/todo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/microsvcs/todo/todo/todo.go -------------------------------------------------------------------------------- /mingiprogram-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hacker-Linner/go-grpc-gateway-v2-microservice/HEAD/mingiprogram-v2.png --------------------------------------------------------------------------------