Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 694 Bytes

modules.md

File metadata and controls

9 lines (7 loc) · 694 Bytes

#Modules Modules define an implicit contract between a client and the flok server. The contract states what messages the client will respond to, what messages the server will respond to, and the semantics of those conversations.

Each driver lists the modules that it is able to support. The driver implementor is responsible for implementing all the messages specified in the ./doc/mod/*.js section. file is used to compile only the modules into the flok kernel that the driver supports.

Module folder in kernel

Flok then implements it's side of the contract in the ./kern/mod/ folder. During compilation, the modules the driver supports (from the ./app/driver/$PLATFORM/config.yml)