July 2019
Intermediate to advanced
502 pages
14h
English
Go kit is composable, as demonstrated in the preceding onion diagram. In addition to the mandatory transports, endpoints, and services, Go kit uses the decorator pattern to optionally wrap services and endpoints with cross-cutting concerns, such as the following:
This approach of a solid core with a small number of abstractions, such as transports, endpoints, and services, that can be extended using a uniform mechanism of middleware is easy to comprehend and work with. Go kit strikes the right balance between providing enough built-in functionality ...