- Go Web Development Cookbook
- Arpit Aggarwal
- 149字
- 2021-08-27 19:01:20
Introduction
Sometimes, we would like to persist information such as user data at an application level rather than persisting it in a database, which can be easily achieved using sessions and cookies. The difference between the two is that sessions are stored on the server side, whereas cookies are stored on the client side. We may also need to cache static data to avoid unnecessary calls to a database or a web service, and implement error handling while developing a web application. With knowledge of the concepts covered in this chapter, we will be able to implement all these functionalities in a fairly easy way.
In this chapter, we will start with creating an HTTP session, then we will learn how we can manage it using Redis, creating cookies, caching HTTP responses, implementing error handling, and eventually end with implementing login and logout mechanisms in Go.
- 物聯網(IoT)基礎:網絡技術+協議+用例
- C++黑客編程揭秘與防范
- Building Django 2.0 Web Applications
- 重新定義Spring Cloud實戰
- SD-WAN架構與技術(第2版)
- 面向物聯網的嵌入式系統開發:基于CC2530和STM32微處理器
- Socket.IO Real-time Web Application Development
- 物聯網之霧:基于霧計算的智能硬件快速反應與安全控制
- Microservice Patterns and Best Practices
- C/C++串口通信:典型應用實例編程實踐
- SAE原理與網絡規劃
- React Cookbook
- 異構蜂窩網絡關鍵理論與技術
- 圖神經網絡前沿
- Scala Programming Projects