• Home
  • Sections
Logo
Logo
  • Home
  • Sections

Sections

  • Who am I
  • Experience in Go Programming
  • Why Go
  • Motivation
  • What to expect
  • The net/http package
  • Analyzing Web Requests
  • Producing Web Responses
  • Example with Standard Types
  • HTTP Methods are Verbs
  • CRUD and HTTP Methods
  • Paths identify Resources
  • JSON as Lingua Franca
  • Body handling in httpx
  • Example using httpx
  • The Standard Multiplexer
  • Nesting of Handlers
  • Usage of nested Handlers
  • Wrapper to log Requests
  • JSON Web Token
  • Connect a Database
  • Keep the door
  • See what we have learned
Overview

Useful Handler Wrappers

Wrapper to log Requests

Show the pattern of wrappers with an example for logging of web requests.

JSON Web Token

Use the JSON Web token for authentication and authorization.

  • themue.dev