Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/trilobit/go-chat
Project written with GoLang. Uses PostgreSQL as storage. Registration and simple authorization are included.
Copy example.config.yml
to dev.config.yml
for development or prod.config.yml
for production and fill arguments in it.
docker build -t gochat:latest .
Just run docker-compose
docker-compose up -d
It runs containers with binary and db. And also run migrations if necessary.
It project can be deployed with docker. It depends on another PostgreSQL container.
docker run --rm --link [pg-container] -v `pwd`/prod.config.yml:/config.yml -p 9090:9090 -p 9091:9091 gochat:latest
To get current version run command:
docker run --rm --link [pg-container] -v `pwd`/prod.config.yml:/config.yml -p 9090:9090 -p 9091:9091 gochat:latest /chat --version
Project created with GoLang 1.13
This project is licensed under the MIT License
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.