Skip to content
Snippets Groups Projects
  1. Apr 19, 2015
    • Marek Vavruša's avatar
      daemon/engine: syntactic sugar for module ‘get’, ‘set’ properties · ae7b572d
      Marek Vavruša authored
      if the module declares such properties, they can be accessed
      by treating module as a table, e.g.
      
      hints[‘localhost’] = ‘127.0.0.1’
      hints.hostname = ‘192.168.1.1.
      print(hints.localhost)
      
      equals to:
      hints.set(‘localhost 127.0.0.1’)
      hints.set(‘hostname 192.168.1.1’)
      print(hints.get(‘localhost’))
      ae7b572d
  2. Apr 12, 2015
  3. Apr 08, 2015
  4. Apr 01, 2015
  5. Mar 31, 2015
  6. Mar 29, 2015
  7. Mar 27, 2015
    • Marek Vavruša's avatar
      daemon: split worker to 'engine' and workers · 65e0473a
      Marek Vavruša authored
      The engine is responsible for central managemento of resources and work
      distribution. This allows to spawn multiple loops.
      
      The engine configuration / interface is based on Lua 5.1-5.2, including
      a RPC and a simple CLI interface. This is going to be the core of configuration
      later on.
      65e0473a