imserver

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

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 8 Imported by: 0

README

How to start project

  • Dev env

    GO_ENV=debug go run main.go
    
  • Docker env for debug

    docker run -e GO_ENV=release -v "/$(pwd)/config/config_docker.yml:/root/config/config.yml" -p 8000:8000 7064805/imserver:latest
    
  • Docker env for release

    docker run -e GO_ENV=release -v "/$(pwd)/config/config_docker.yml:/root/config/config.yml" -v "/$(pwd)/logs:/root/logs" -p 8000:8000 7064805/imserver:latest
    

How to customize your log format


运行环境依赖如下

  • Redis
  • MySQL
  • RabbitMQ

使用到的三方库如下


正在处理

  • 迁移到 Gin 上 (Down)
  • 希望有 Web Rest APi 管理 (Gin) (撸了一个开头...)
  • 希望能基于上述 APi 加入可视化管理

下一步

  • 分布式 - 主(Master)、从(Slave)、调度(Schedule)、注册(Register) 真他妈越走越偏了
  • Docker 打包的时候传入一些环境变量 & Monut 一下 ConfigFile

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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