Читать книгу Practical Go - Amit Saha - Страница 4

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

Practical Go

Подняться наверх