Skip to content

jkstack/jkframe

Repository files navigation

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