Skip to main content

Guide

The Yock authorsLess than 1 minute

Yockopen in new windowis a framework built for building, somewhat similar to nodejs and bazel, with some functionality encapsulated under the basement based on an interpreter. Just like NodeJS, Yock has implemented its own package management tool, YPM, based on wrapped Lua, which means that it is possible to introduce third-party libraries.

Go Report Cardopen in new window Software License GoDocopen in new window codecovopen in new window Discordopen in new window

Architecture

arch
arch
  • Yctl: it's used for scheduling yock's commands.
  • Yockp: it's mainly used for preprocessing lua file, such as schema decomposition, decomposing a lua source file into multiple lua files according to a given modes for distributed system.
  • Yocks: the scheduler is responsible for running the lua code, and launchs goroutines to execute in tasks.
  • YPM: yock package manager, used for completion and loading dependencies.
  • Yockd: yock's daemon responsible for cross-process and cross-end communication, building P2P or centralized cluster.
  • Yockr: yock's runtime.
  • Yockw: yock's monitoring, used for log search and metric monitoring.
  • Ycho: yock's logger module, is used for show information in running.

License

This software is licensed under the MIT license, see LICENSEopen in new window for more information.