├── .gitignore ├── LICENSE ├── README.md ├── go.mod ├── go.sum ├── pkg └── oc │ ├── multi_exporter.go │ ├── setup.go │ ├── trace_endpoints.go │ └── zipkin.go ├── services ├── account │ ├── account.go │ ├── cmd │ │ └── main.go │ ├── cockroachdb │ │ └── repository.go │ ├── implementation │ │ └── service.go │ ├── service.go │ └── transport │ │ ├── endpoints.go │ │ ├── grpc │ │ └── service.go │ │ ├── pb │ │ ├── account.pb.go │ │ └── account.proto │ │ └── request_response.go └── order │ ├── cmd │ └── main.go │ ├── cockroachdb │ └── respository.go │ ├── implementation │ └── service.go │ ├── middleware │ ├── logging.go │ └── service.go │ ├── order.go │ ├── service.go │ └── transport │ ├── endpoints.go │ ├── http │ └── service.go │ └── request_response.go └── setup.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/oc/multi_exporter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/pkg/oc/multi_exporter.go -------------------------------------------------------------------------------- /pkg/oc/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/pkg/oc/setup.go -------------------------------------------------------------------------------- /pkg/oc/trace_endpoints.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/pkg/oc/trace_endpoints.go -------------------------------------------------------------------------------- /pkg/oc/zipkin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/pkg/oc/zipkin.go -------------------------------------------------------------------------------- /services/account/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/account.go -------------------------------------------------------------------------------- /services/account/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/cmd/main.go -------------------------------------------------------------------------------- /services/account/cockroachdb/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/cockroachdb/repository.go -------------------------------------------------------------------------------- /services/account/implementation/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/implementation/service.go -------------------------------------------------------------------------------- /services/account/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/service.go -------------------------------------------------------------------------------- /services/account/transport/endpoints.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/transport/endpoints.go -------------------------------------------------------------------------------- /services/account/transport/grpc/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/transport/grpc/service.go -------------------------------------------------------------------------------- /services/account/transport/pb/account.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/transport/pb/account.pb.go -------------------------------------------------------------------------------- /services/account/transport/pb/account.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/transport/pb/account.proto -------------------------------------------------------------------------------- /services/account/transport/request_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/account/transport/request_response.go -------------------------------------------------------------------------------- /services/order/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/cmd/main.go -------------------------------------------------------------------------------- /services/order/cockroachdb/respository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/cockroachdb/respository.go -------------------------------------------------------------------------------- /services/order/implementation/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/implementation/service.go -------------------------------------------------------------------------------- /services/order/middleware/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/middleware/logging.go -------------------------------------------------------------------------------- /services/order/middleware/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/middleware/service.go -------------------------------------------------------------------------------- /services/order/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/order.go -------------------------------------------------------------------------------- /services/order/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/service.go -------------------------------------------------------------------------------- /services/order/transport/endpoints.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/transport/endpoints.go -------------------------------------------------------------------------------- /services/order/transport/http/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/transport/http/service.go -------------------------------------------------------------------------------- /services/order/transport/request_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/services/order/transport/request_response.go -------------------------------------------------------------------------------- /setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijuvar/gokit-examples/HEAD/setup.md --------------------------------------------------------------------------------