├── .codebeatignore ├── .gitignore ├── .travis.yml ├── .travis ├── install-protoc.sh └── install-thrift.sh ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── component.go ├── config.go ├── config_test.go ├── creator.go ├── generator.go ├── generator_test.go ├── go.mod ├── go.sum ├── grpcclient.go ├── grpcclient_test.go ├── grpcserver.go ├── log.go ├── protoc-gen-buildfields └── main.go ├── runtime.go ├── server.go ├── simplejson_test.go ├── test ├── gen │ ├── grpcfields.yaml │ └── thriftfields.yaml ├── integration_test.go ├── service_test.yaml ├── test.go └── testservice │ ├── gen │ ├── grpcfields.yaml │ ├── grpcswitcher.go │ ├── proto │ │ ├── shared.pb.go │ │ └── testservice.pb.go │ ├── thrift │ │ ├── build.go │ │ └── gen-go │ │ │ └── gen │ │ │ ├── GoUnusedProtection__.go │ │ │ ├── minions_service-remote │ │ │ └── minions_service-remote.go │ │ │ ├── shared-consts.go │ │ │ ├── shared.go │ │ │ ├── test_service-remote │ │ │ └── test_service-remote.go │ │ │ ├── testservice-consts.go │ │ │ └── testservice.go │ ├── thriftfields.yaml │ └── thriftswitcher.go │ ├── grpcapi │ ├── component │ │ └── components.go │ └── testserviceapi.go │ ├── grpcservice │ ├── impl │ │ ├── minionsserviceimpl.go │ │ └── testserviceimpl.go │ └── testservice.go │ ├── main.go │ ├── service.yaml │ ├── shared.proto │ ├── shared.thrift │ ├── testservice.proto │ ├── testservice.thrift │ ├── thriftapi │ ├── component │ │ └── components.go │ └── testserviceapi.go │ └── thriftservice │ ├── impl │ ├── minionsserviceimpl.go │ └── testserviceimpl.go │ └── testservice.go ├── testprotos.pb.go ├── testprotos.proto ├── thriftclient.go ├── thriftclient_test.go ├── thriftserver.go ├── turbo ├── cmd │ ├── create.go │ ├── generate.go │ └── root.go └── main.go ├── util.go └── util_test.go /.codebeatignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/.codebeatignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/.travis.yml -------------------------------------------------------------------------------- /.travis/install-protoc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/.travis/install-protoc.sh -------------------------------------------------------------------------------- /.travis/install-thrift.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/.travis/install-thrift.sh -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/README.md -------------------------------------------------------------------------------- /component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/component.go -------------------------------------------------------------------------------- /config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/config.go -------------------------------------------------------------------------------- /config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/config_test.go -------------------------------------------------------------------------------- /creator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/creator.go -------------------------------------------------------------------------------- /generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/generator.go -------------------------------------------------------------------------------- /generator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/generator_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/go.sum -------------------------------------------------------------------------------- /grpcclient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/grpcclient.go -------------------------------------------------------------------------------- /grpcclient_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/grpcclient_test.go -------------------------------------------------------------------------------- /grpcserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/grpcserver.go -------------------------------------------------------------------------------- /log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/log.go -------------------------------------------------------------------------------- /protoc-gen-buildfields/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/protoc-gen-buildfields/main.go -------------------------------------------------------------------------------- /runtime.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/runtime.go -------------------------------------------------------------------------------- /server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/server.go -------------------------------------------------------------------------------- /simplejson_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/simplejson_test.go -------------------------------------------------------------------------------- /test/gen/grpcfields.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/gen/grpcfields.yaml -------------------------------------------------------------------------------- /test/gen/thriftfields.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/gen/thriftfields.yaml -------------------------------------------------------------------------------- /test/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/integration_test.go -------------------------------------------------------------------------------- /test/service_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/service_test.yaml -------------------------------------------------------------------------------- /test/test.go: -------------------------------------------------------------------------------- 1 | package test 2 | -------------------------------------------------------------------------------- /test/testservice/gen/grpcfields.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/grpcfields.yaml -------------------------------------------------------------------------------- /test/testservice/gen/grpcswitcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/grpcswitcher.go -------------------------------------------------------------------------------- /test/testservice/gen/proto/shared.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/proto/shared.pb.go -------------------------------------------------------------------------------- /test/testservice/gen/proto/testservice.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/proto/testservice.pb.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/build.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/GoUnusedProtection__.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/GoUnusedProtection__.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/minions_service-remote/minions_service-remote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/minions_service-remote/minions_service-remote.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/shared-consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/shared-consts.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/shared.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/shared.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/test_service-remote/test_service-remote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/test_service-remote/test_service-remote.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/testservice-consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/testservice-consts.go -------------------------------------------------------------------------------- /test/testservice/gen/thrift/gen-go/gen/testservice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thrift/gen-go/gen/testservice.go -------------------------------------------------------------------------------- /test/testservice/gen/thriftfields.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thriftfields.yaml -------------------------------------------------------------------------------- /test/testservice/gen/thriftswitcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/gen/thriftswitcher.go -------------------------------------------------------------------------------- /test/testservice/grpcapi/component/components.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/grpcapi/component/components.go -------------------------------------------------------------------------------- /test/testservice/grpcapi/testserviceapi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/grpcapi/testserviceapi.go -------------------------------------------------------------------------------- /test/testservice/grpcservice/impl/minionsserviceimpl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/grpcservice/impl/minionsserviceimpl.go -------------------------------------------------------------------------------- /test/testservice/grpcservice/impl/testserviceimpl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/grpcservice/impl/testserviceimpl.go -------------------------------------------------------------------------------- /test/testservice/grpcservice/testservice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/grpcservice/testservice.go -------------------------------------------------------------------------------- /test/testservice/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/main.go -------------------------------------------------------------------------------- /test/testservice/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/service.yaml -------------------------------------------------------------------------------- /test/testservice/shared.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/shared.proto -------------------------------------------------------------------------------- /test/testservice/shared.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/shared.thrift -------------------------------------------------------------------------------- /test/testservice/testservice.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/testservice.proto -------------------------------------------------------------------------------- /test/testservice/testservice.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/testservice.thrift -------------------------------------------------------------------------------- /test/testservice/thriftapi/component/components.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/thriftapi/component/components.go -------------------------------------------------------------------------------- /test/testservice/thriftapi/testserviceapi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/thriftapi/testserviceapi.go -------------------------------------------------------------------------------- /test/testservice/thriftservice/impl/minionsserviceimpl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/thriftservice/impl/minionsserviceimpl.go -------------------------------------------------------------------------------- /test/testservice/thriftservice/impl/testserviceimpl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/thriftservice/impl/testserviceimpl.go -------------------------------------------------------------------------------- /test/testservice/thriftservice/testservice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/test/testservice/thriftservice/testservice.go -------------------------------------------------------------------------------- /testprotos.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/testprotos.pb.go -------------------------------------------------------------------------------- /testprotos.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/testprotos.proto -------------------------------------------------------------------------------- /thriftclient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/thriftclient.go -------------------------------------------------------------------------------- /thriftclient_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/thriftclient_test.go -------------------------------------------------------------------------------- /thriftserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/thriftserver.go -------------------------------------------------------------------------------- /turbo/cmd/create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/turbo/cmd/create.go -------------------------------------------------------------------------------- /turbo/cmd/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/turbo/cmd/generate.go -------------------------------------------------------------------------------- /turbo/cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/turbo/cmd/root.go -------------------------------------------------------------------------------- /turbo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/turbo/main.go -------------------------------------------------------------------------------- /util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/util.go -------------------------------------------------------------------------------- /util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaporz/turbo/HEAD/util_test.go --------------------------------------------------------------------------------