├── .github └── workflows │ └── gh-pages.yml ├── Makefile ├── README.md ├── api.proto ├── api.swagger.json ├── api_pb ├── api.pb.go ├── api.pb.gw.go └── swagger.pb.go ├── cmd └── grpc_gateway_example │ └── main.go ├── gen.go ├── go.mod ├── go.sum ├── service └── service.go ├── swagger.proto └── tools.go /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/.github/workflows/gh-pages.yml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # grpc-gateway-example 2 | 3 | RESTful API and gRPC interface -------------------------------------------------------------------------------- /api.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/api.proto -------------------------------------------------------------------------------- /api.swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/api.swagger.json -------------------------------------------------------------------------------- /api_pb/api.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/api_pb/api.pb.go -------------------------------------------------------------------------------- /api_pb/api.pb.gw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/api_pb/api.pb.gw.go -------------------------------------------------------------------------------- /api_pb/swagger.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/api_pb/swagger.pb.go -------------------------------------------------------------------------------- /cmd/grpc_gateway_example/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/cmd/grpc_gateway_example/main.go -------------------------------------------------------------------------------- /gen.go: -------------------------------------------------------------------------------- 1 | //go:generate make 2 | 3 | package grpc_gateway_example 4 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/go.sum -------------------------------------------------------------------------------- /service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/service/service.go -------------------------------------------------------------------------------- /swagger.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/swagger.proto -------------------------------------------------------------------------------- /tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klim0v/grpc-gateway-example/HEAD/tools.go --------------------------------------------------------------------------------