lawman

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 0

README

go-lawman-serv

介绍

go语言web服务基础框架依赖

软件架构

软件架构说明

安装教程
  1. xxxx
  2. xxxx
  3. xxxx
使用说明
  1. xxxx
  2. xxxx
  3. xxxx
参与贡献
  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
特技
  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BTool

func BTool() *kit.BTool

BTool 基础工具类

func CAPTCHA

func CAPTCHA() *generator.CaptchaGenerator

CAPTCHA 图片验证码工具

func CTX

func CTX() *single.ContextSingle

CTX 得到环境上下文

func FILE added in v0.0.2

func FILE() *kit.FileUtils

FILE 文件工具类库

func GetConfigManager

func GetConfigManager() *manager.ConfigManager

GetConfigManager 获取Redis连接服务

func Init

func Init()

Init 初始化配置文件

func R

func R() *call.JsonResult

R 返回数据的结构 JsonResult

func REDIS

func REDIS() *manager.RedisManager

REDIS 获取Redis连接服务

func SHORTCUT

func SHORTCUT() *generator.ShortUrlGenerator

SHORTCUT 长连接转短链接工具

func SNOWFLAKE

func SNOWFLAKE() string

SNOWFLAKE 新建一个雪花算法的主键

func TIME

func TIME() *kit.TimeUtils

TIME 时间操作工具类

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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