An open API service indexing awesome lists of open source software.

https://github.com/jkstack/jkframe

jkstack golang framework
https://github.com/jkstack/jkframe

api cache daemon go golang schema

Last synced: about 1 year ago
JSON representation

jkstack golang framework

Awesome Lists containing this project

README

          

# jkframe

[![jkframe](https://github.com/jkstack/jkframe/actions/workflows/test.yml/badge.svg)](https://github.com/jkstack/jkframe/actions/workflows/test.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/jkstack/jkframe.svg)](https://pkg.go.dev/github.com/jkstack/jkframe)
[![Go Report Card](https://goreportcard.com/badge/github.com/jkstack/jkframe)](https://goreportcard.com/report/github.com/jkstack/jkframe)
[![go-mod](https://img.shields.io/github/go-mod/go-version/jkstack/jkframe)](https://github.com/jkstack/jkframe)
[![license](https://img.shields.io/github/license/jkstack/jkframe)](https://opensource.org/licenses/MIT)

[English](README.md) | [中文文档](README_zh.md)

jkstack golang basic framework

## modules

* [api](/api): http handler interface, includes arguments parser and response reply
* [l2cache](/cache/l2cache): cache with memory and disk, when write data size more than values seted, the cache data will write to the disk
* [kvconf](/conf/kvconf): supported configure file with key=value
* [yaml](/conf/yaml): supported yaml file parse, added #include keyword to include another yaml file
* [daemon](/daemon): daemon process supported, supported change run user in child process, supported restart when child process exited
* [logging](/logging): log library, supported log level of each format, supported log rotate by date and log file size
* [mysqlschema](/mysqlschema): mysql table schema and initialize data management tools, supported table schema version and initialize data version
* [utils](/utils): useful function, like UUID, Assert, Trace and more
* [stat](/stat): prometheus buried point library
* [compress](/compress): compress data

## usage

go get -u github.com/jkstack/jkframe

## documentation

GoDoc: https://pkg.go.dev/github.com/jkstack/jkframe

## TODO

1. support prometheus library
2. support restful api format