Skip to content

nEdAy/Shepherd

Repository files navigation

Sheep服务端Golang(Gin)

  • Sheep —— Android(Kotlin)

前期准备

云主机: 阿里云、腾讯云、Vultr —— 47.93.228.168

域名+证书 + DNS:新网 + Letsencrypt.orgBuypass.com + DNS —— https://www.neday.cn/ping

系统及服务 : CentOS + LNMP(Nginx/MySQL/PHP) + Redis

LAMP(Apache/MySQL/PHP)LNMPA(Nginx/MySQL/PHP/Apache)

PHP探针

phpmyadmin + Navicat Premium 12

数据库无法远程访问: 云服务器安全组 + CentOS防火墙iptables + phpmyadmin user 配置 %

​ ssh连接工具:** Xshell 6 、MobaXterm

​ 常用第三方包指令: lrzsz(rz,sz) 、screen

大淘客API <——> Shepherd Swagger <——> Sheep

main.go

  • build —— *.ini, ssl, 可执行文件
  • controllor
  • docs
  • middleware
    • jwt
  • model —— GORM
  • pkg
    • logger
    • redis
    • config
    • jwt
    • scrypt
    • response
  • router

MySQL命名、设计及使用规范

Golang交叉编译 & Makefile

supervisor 管理进程 —— http://47.93.228.168:9001

存储密码方案

hash 、 hash + salt 、dk := scrypt.Key([]byte("password"), []byte("salt"), 16384, 8, 1, 32)

About

口袋快爆3.0 服务端Golang(Gin)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published