Please enable JavaScript.
Coggle requires JavaScript to display documents.
Packt - Go Web Development Cookbook - Coggle Diagram
Packt - Go Web Development Cookbook
Chapter 1 (Server)
TCP Server (socket) lightweight than HTTP Server
HTTP Server
net
tcp
udp
net/http
routing
native mux
gorilla mux
receive the http.HandlerFunc
log
gorilla handler log
Chapter 2 (Static/Template)
http.FileServer
gorilla shema to decode the html form
govalidator
upload file
get file from form
create temp file
copy file from form to temp file
Chapter 3 (Session, Caching)
Session
Cookie
gorilla sessions
http.SetCookie
Hidden form field
URL rewriting
Caching
go-cache package
Error Handling
Chapter 4 (RESTful Web Service)
GET
PUT
DELETE
POST
Versioning
Consume API with Resty package
Chapter 5 (Persist with SQL and NoSQL)
MySQL
github.com/go-sql-driver/mysql
MongoDB
Chapter 6 (Microservice)
Chapter 7 (Websocket)
Chapter 8 (Beego)
Get the Beego framework: go get github.com/astaxie/beego
Chapter 9 (Docker)
Create Dockerfile and docker-compose.yml
Chapter 10 (Security)
ListenAndServeTLS
JWT
csrf
Chapter 11 (Deploy)
AWS
Dockerize
Manually