Practical Go. Amit Saha
Читать онлайн книгу.href="#ulink_d05729fb-1b78-5fe2-bc4f-fc8ba97b3835">Connection Management Summary
15 CHAPTER 11: Working with Data Stores Working with Object Stores Working with Relational Databases Summary
16 APPENDIX A: Making Your Applications Observable Logs, Metrics, and Traces Emitting Telemetry Data Summary
17 APPENDIX B: Deploying Applications Managing Configuration Distributing Your Application Deploying Server Applications Summary
18 Index
19 Copyright
20 Dedication
List of Tables
1 Chapter 1Table 1.1: Parsing of command-line arguments via flag
List of Illustrations
1 Chapter 2Figure 2.1: The main application looks at the command-line arguments and inv...Figure 2.2: The main package implements the root command. A sub-command is i...
2 Chapter 5Figure 5.1: Request processing by an HTTP serverFigure 5.2: Any package can register a handler function with the DefaultServ
...Figure 5.3: Each incoming request is handled by a new goroutine.Figure 5.4: A context is created for every incoming request and destroyed wh...Figure 5.5: From left to right: An incoming HTTP request triggers a long-run...
3 Chapter 6Figure 6.1: Request processing by an HTTP server when using a custom handler...Figure 6.2: Request processing by an HTTP server when using an http.HandlerF
...Figure 6.3: Request processing by an HTTP server when using a wrapped ServeM
...Figure 6.4: Request processing by an HTTP server when using multiple middlew...
4 Chapter 7Figure 7.1: Aborting the request processing when the time-out handler has ki...Figure 7.2: The different time-outs that play a role when handling an HTTP r...Figure 7.3: Interaction between the Shutdown()
and ListenAndServe()
methods...
5 Chapter 8Figure 8.1: Functioning of an RPC-based service architectureFigure 8.2: Parts of a protobuf language specificationFigure 8.3: Creating the gRPC server with the Users
serviceFigure 8.4: Directory structure of the Users
serviceFigure 8.5: Comparison of a real network listener with one created using buf
...
6 Chapter 9Figure 9.1: Streaming communication patternFigure 9.2: Protobuf oneof
field and the equivalent generated Go typeFigure 9.3: Interceptors and streaming communication
7 Chapter 10Figure 10.1: Functioning of an RPC-based service architecture
8 Chapter 11Figure 11.1: Architecture of the example scenarioFigure 11.2: Creating a bucket in MinIOFigure 11.3: Entity relationship diagram for the package server database
Guide
1 Cover
4 Copyrigt
12 APPENDIX A: Making Your Applications Observable
13 APPENDIX B: Deploying Applications
14 Index
Pages
1 i
2 xvii
3 xviii
4 xix
5 xxi
6 xxii
7 xxiii