chimera

module
v3.0.911 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0

README

richelieu-yang/chimera

Golang的工具类
Tools of Golang

业务项目

(1) 安装此依赖

命令: go get github.com/richelieu42/chimera/v3

(2) 在main()所在的.go文件中,通过 "import _" 导入一些包
  • jsonKit
  • 业务自己的 config 包

应用进程的退出(exit)

主动退出

不要使用 os.Exit,建议使用 appKit.Exit.

监听退出信号

建议使用 signalKit.MonitorExitSignals,其内部会调用 appKit.Exit.

参考

TODOs

Directories

Path Synopsis
src
Package redisKit
component/web/ginKit
Package ginKit
Package ginKit
component/web/httpKit
Package httpKit
Package httpKit
component/web/push/pushKit
Package pushKit 此文件中的几个方法,需要在子类中实现!
Package pushKit 此文件中的几个方法,需要在子类中实现!
config/viperKit
Package viperKit
Package viperKit
consts
Package consts 本库的全局常量.
Package consts 本库的全局常量.
consts/httpStatusCode
Package httpStatusCode 自定义的http状态码
Package httpStatusCode 自定义的http状态码
core/byteKit
Package byteKit
Package byteKit
core/floatKit
Package floatKit
Package floatKit
core/pathKit
Package pathKit
Package pathKit
core/runtimeKit
Package runtimeKit 主要是对如下包的封装:"runtime"
Package runtimeKit 主要是对如下包的封装:"runtime"
core/strKit
Package strKit
Package strKit
crypto/aes/aesKit1
Package aesKit
Package aesKit
micro/raft/raftKit
Package raftKit
Package raftKit
serialize/json/jsonRespKit
Package jsonRespKit
Package jsonRespKit

Jump to

Keyboard shortcuts

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