jkframe

module
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT

README

jkframe

jkframe Go Reference Go Report Card go-mod license

English | 中文文档

jkstack golang basic framework

modules

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

Directories

Path Synopsis
http handler library, Context is the main struct of this library.
http handler library, Context is the main struct of this library.
cache
l2cache
local cache of memory and disk library.
local cache of memory and disk library.
conf
kvconf
configure file of key=value parse library.
configure file of key=value parse library.
yaml
extended yaml library and supported #include syntax.
extended yaml library and supported #include syntax.
daemon process library for linux and windows.
daemon process library for linux and windows.
log library supported loglevel and logrotate.
log library supported loglevel and logrotate.
mysql table schema and initialize data management tools.
mysql table schema and initialize data management tools.
prometheus buried point library.
prometheus buried point library.
useful function, like UUID, Assert, Trace and more.
useful function, like UUID, Assert, Trace and more.

Jump to

Keyboard shortcuts

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