Commit Graph

18 Commits

Author SHA1 Message Date
Adrien Marquès bdae6008a0 generic driver now uses argv[1] and argv[2] to send method name and data 2018-10-04 12:43:52 +02:00
Adrien Marquès ee19846ddc unexport driver.generic mockups 2018-10-01 21:16:59 +02:00
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 37fe30ebc7 rename 'internal/meta' to 'internal/config' | move driver type definition into explicit file + remove 'import' driver | remove useless method to parse multipart 2018-10-01 17:43:18 +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 b6e19c255b implement 'AICRA' command | system to parse config, set defaults, infer map of sources from a folder, etc 2018-10-01 12:29:05 +02:00
Adrien Marquès c51281c731 create import driver (not finished) 2018-09-29 17:01:58 +02:00
Adrien Marquès 5db546e964 min mod : comment exported fields 2018-09-28 18:30:49 +02:00
Adrien Marquès 0de217f362 merge conflicts 2018-09-28 16:02:51 +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 b957d82a64 implement driver.Generic.LoadMiddleware() [TODO] test it 2018-09-28 11:13:01 +02:00
Adrien Marquès 366e948d6b implement driver.Generic.LoadMiddleware() [TODO] test it 2018-09-28 11:08:44 +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 f5800900b0 rename 'internal/apirequest' to 'internal/request' but use import alias 'apirequest' in dependencies 2018-09-28 08:10:41 +02:00
Adrien Marquès 9fa18b8736 fix import/varname conflict 2018-09-28 08:04:36 +02:00
Adrien Marquès 2baee4a066 update 'driver/generic' now working (~44ms for simplest use) 2018-09-27 14:33:03 +02:00
Adrien Marquès fced676c42 add 'driver/generic' (to test, alpha version) 2018-09-27 14:11:48 +02:00
Adrien Marquès 3feae783dc add driver management + moved implementation of default driver into 'driver/plugin' 2018-09-27 13:43:36 +02:00