# kingjin **Repository Path**: oliverxu/kingjin ## Basic Information - **Project Name**: kingjin - **Description**: No description available - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-28 - **Last Updated**: 2021-03-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kingjin [![Production Ready](https://img.shields.io/badge/production-ready-blue.svg)](gitee.com/oliverxu/kingjin) [![License](https://img.shields.io/github/license/gogf/gf.svg?style=flat)](https://gitee.com/oliverxu/kingjin) # Installation ``` go get -u -v gitee.com/oliverxu/kingjin ``` ##如何使用 ```` 配置启动 var QueueObj iface.IServer config := &core.Config{ Name: "XXX work", Version: "1.0.1", WorkerPoolSize: 8, MaxWorkerTaskLen: 2048, MaxDeadTaskLen: 2048, MaxDbTaskLen: 4096, MaxRetry: 3, DelayTime: time.Second * 2, } QueueObj = core.NewServer(config) QueueObj.Serve() 注册路由 QueueObj.AddRouter("importExcel", new(queue.Excel)) ````