Go-zero-side is a project to complement go-zero. It provides more practical engineering tools which work seamlessly with go-zero.
The packages are:
-
goscheduleA distributed cron job scheduler. It has a simple design to prevent multiple nodes from running the same job without using distributed locks. -
logzAn xorm logger implement to show SQL by integrating with go-zero logging facility. It also outputs trace-id for SQL logs. -
xormcacheDeprecated. An xorm cache implement using redis as the storage. It is deprecated because a remote cache is not so efficient as xorm's build-in local cache such as memory or leveldb. -
sessionA HTTP session middleware, based on gorilla/sessions but far better than that. -
routerA customied go-zero/rest/httpx.Router. Currently it creates a fileServingRouter which handles HTTP caching correctly. -
embedxhandles go template files embedding as well as static files embedding. -
delayqdefines a general purpose Message struct as the protocol of zeromicro/go-queue/dq. It also propagates trace-id to the queue consumer.