server

command module
v0.0.0-...-865ae18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: MIT Imports: 17 Imported by: 0

README

passwordserver

项目命令

编译服务
make

# 测试运行
make start

编译成功后会生成buildSave目录和passwordserver_xxxxxxx_x86_64.tgz部署包

部署服务

部署编译后的包

mkdir -p /data/soft/
tar -xvf passwordserver_08afd0c_x86_64.tgz -C /data/soft/
启动服务
cd /data/soft/passwordserver/
./start.sh
停止服务
cd /data/soft/passwordserver/
./stop.sh
查看版本
cd /data/soft/passwordserver/
./passwordserver version
更新构建工具
  • 由于gs-cli会更新,带来了makefile start.sh stop.sh脚本的更新,所以需要用到gs-cli update来对这些文件更新。

  • gs-cli update只能在goserver创建的项目根目录中使用。依赖于makefile里面的server_name变量。

cd /data/soft/mygoserver/
gs-cli update

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

  • main.go

Jump to

Keyboard shortcuts

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