Commit Graph

8 Commits

Author SHA1 Message Date
Adrien Marquès d406338777 implement driver for type checkers | move controller/middleware/checker definition inside the 'driver' package (all uses are exported from this place) | now driver.Driver returns 'Controller', 'Middleware', and 'Checker' in the interface | a lot a junk 2018-10-01 19:27:38 +02:00
Adrien Marquès 253a2b0b59 minfix in 'AICRA' command | plugins are now using the Export() method to return Controller/Middleware 2018-10-01 15:27:56 +02:00
Adrien Marquès 9c9079f06b add 'driver.Driver.Name() string' and use it to select the default type/middleware folder (.build/middleware or middleware) | fix driver.Generic.LoadMiddleware() | remove variadic arguments for middleware.CreateRegistry() and checker.CreateRegistry() 2018-09-28 15:59:21 +02:00
Adrien Marquès 2cfc5a2ba0 update 'middleware' types | rename driver.Driver.Load() into RunController() | add driver.Driver.LoadMiddleware() | add driver management to middleware.Registry at creation | [TODO] implement diver.Generic.LoadMiddleware() 2018-09-28 10:54:13 +02:00
Adrien Marquès 05d5c23038 fix aicra.files.IsDir() which logic was inverted | make add() private for registries (checker + middleware) + fix server.go (invalid address for Server.controller because wasn't initialized to NIL) 2018-07-11 01:51:10 +02:00
Adrien Marquès 637bc91770 LINT: renaming + refactor 2018-07-09 01:34:21 +02:00
Adrien Marquès da38582add minfix 2018-07-07 23:15:42 +02:00
Adrien Marquès b39dff10eb add middleware (same principle as types) + scope check in progress 2018-07-07 22:10:56 +02:00