- Hands-On Microservices with Kubernetes
- Gigi Sayfan
- 89字
- 2021-06-24 13:46:45
The svc subdirectory
The svc subdirectory is where the Delinkcious microservices live. Each microservice is a separate binary with its own main package. delinkcious_service is a public umbrella service that follows the API gateway (https://microservices.io/patterns/apigateway.html) pattern:
$ tree svc
svc
├── delinkcious_service
│ └── README.md
├── link_service
│ ├── link_service.go
│ └── transport.go
├── social_graph_service
│ ├── social_graph_service.go
│ └── transport.go
└── user_service
├── transport.go
└── user_service.go