Go Web Development Cookbook2018

上传者: sinat_41581062 | 上传时间: 2021-09-04 01:56:52 | 文件大小: 9.28MB | 文件类型: PDF
Chapter 1, Creating Your First Server in Go, explains how to write and interact with HTTP and TCP servers, optimize server responses with GZIP compression, and implement routing and logging in a Go web application. Chapter 2, Working with Templates, Static Files, and HTML Forms, covers how to create HTML templates; serve static resources from the filesystem; create, read, and validate HTML Forms; and implement a simple user authentication for a Go web application. Chapter 3, Working with Sessions, Error Handling, and Caching in Go, explores implementing HTTP sessions, HTTP cookies, error handling, and caching and managing HTTP sessions using Redis, which is required for a web application deployed across multiple data centers. Chapter 4, Writing and Consuming RESTful Web Services in Go, explains how to write RESTful web services, version them, and create AngularJS with TypeScript 2, ReactJS, and VueJS clients to consume them. Chapter 5, Working with SQL and NoSQL Databases, goes through implementing CRUD operations with MySQL and MongoDB databases in a Go web application. Chapter 6, Writing Microservices in Go Using Micro – a Microservice Toolkit, focuses on writing and working with the Protocol Buffers, using a microservice discovery client such as Consul, writing microservices using Go Micro, and interacting with them through command line and web dashboard, along with implementing the API gateway pattern to access the microservices over the HTTP protocol. Chapter 7, Working with WebSocket in Go, looks at writing a WebSocket server and its client as well as writing unit tests and debugging them using the GoLand IDE. Chapter 8, Working with the Go Web Application Framework - Beego, familiarizes setting up the Beego project architecture, writing controllers, views, and filters, implementing caching backed with Redis, and monitoring and deploying the Beego application with Nginx. Chapter 9, Working with Go and Docker, presents writing Docker images, creating Docker con

文件下载

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明