stream-backend-go

command module
v0.0.0-...-d224c88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2020 License: GPL-3.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

stream-backend

stream service implementation with go and echo

use

install docker-compose

redis

run docker-compose up -d redis

database

run docker-compose up -d stream-database

development

  1. Install golang like here: https://itrig.de/index.php?/archives/2377-Installation-einer-aktuellen-Go-Version-auf-Ubuntu.html

  2. Install dependecies go get github.com/go-playground/validator go get github.com/go-redis/redis go get github.com/go-sql-driver/mysql go get github.com/google/uuid go get github.com/jinzhu/configor go get github.com/labstack/echo go get github.com/labstack/echo-contrib/session go get github.com/rbcervilla/redisstore go get golang.org/x/crypto/bcrypt

  3. Checkout stream-backend-go git clone https://github.com/Viva-con-Agua/stream-backend-go.git

  4. Run server Start server wiht go run server.go

  5. update nginx Update IP to you local IP in develop-pool branch at routes/nginx-pool/pool.upstream and restart nginx-pool docker with docker restart pool-nginx

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址