# go
Automatic Restart of Services Using Supervisor Daemon in CentOS
I use supervisor as a process guard for the go service. The goal is to automatically restart the service after it hangs.
Golang Builds and Deploys Executable Files
I used Golang + Gin before, combined with gorilla/websocket to build a simple chat room backend service. Next, let me introduce how I deploy the service written in go code to the server.
Build a Simple Websocket Chat Server in Go with Gin
we continue to use Golang + Gin to build a simple chat room backend service. Our overall plan is that the Websocket service receives the full amount of data from the front end, and then forwards it in real time to achieve multi-terminal communication of chat messages. At the same time, the server needs to be a client manager to be responsible for the registration and deregistration of the client to achieve a simple chat function backend service.
Build a Simple Websocket Server in Go with Gin
I will use Golang's web development framework Gin, with the Websocket library gorilla/websocket to implement simple back-end services.
Open Source Mail Server Maddy Deployment Tutorial
An open source mail server Maddy, written entirely in Go language, lightweight and easy to use.
Open Source IM System Tinode Deployment Tutorial|WSL Environment
To deploy an IM system locally, select tinode. In order to facilitate the startup of the backend, we use the WSL environment and install the database with docker to start the IM application.