tiktak

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

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

tiktak

A minimalist back-end framwork built in golang language to imitate tiktok

使用方法

先放置配置文件到./config

windows

EasyStart.bat或EasyStartExe.bat选择一个启动即可,更推荐使用EasyStartExe.bat进行启动

linux环境下启动

./build-start.sh #一键编译并启动所有服务
./start.sh  #一键启动所有服务
./shutdown.sh #一键杀死所有服务

项目结构

  • common
    • 数据库等基础构件包,目前仅数据库
  • config
    • 配置文件夹
  • controller
    • web处理器函数包
  • db
    • 数据库操作函数包
  • middleware
    • 鉴权包等中间件包,目前仅jwt
  • migration
    • gorm自动迁移
  • model
    • 数据库model
  • oss
    • oss对象储存操作函数包
  • router
    • gin路由函数包
  • service
    • 微服务包
  • static
    • 静态资源
  • tempfile
    • 视频文件本地临时储存位置
  • tempimage
    • 视频封面本地临时储存位置
  • util
    • 哈希、加密等工具包

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