bdae6008a0generic driver now uses argv[1] and argv[2] to send method name and dataAdrien Marquès2018-10-04 12:43:52 +0200
846112b053big update of the readme with examples and driver.generic input/output data definitionAdrien Marquès2018-10-04 12:39:43 +0200
50d9bceec7update 'aicra' command now chdir to first argument (to find the aicra.json conf and to have a valid relative path from its 'root' field)Adrien Marquès2018-10-04 12:31:48 +0200
0053f475e2update readme : add spaces before titles, update changelog, and minimal changesAdrien Marquès2018-10-03 18:45:58 +0200
d406338777implement 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 junkAdrien Marquès2018-10-01 19:27:38 +0200
37fe30ebc7rename 'internal/meta' to 'internal/config' | move driver type definition into explicit file + remove 'import' driver | remove useless method to parse multipartAdrien Marquès2018-10-01 17:43:18 +0200
253a2b0b59minfix in 'AICRA' command | plugins are now using the Export() method to return Controller/MiddlewareAdrien Marquès2018-10-01 15:14:48 +0200
7bcbefdf35rename 'internal/config' to 'internal/api' | rename 'internal.api.Load()' to 'internal.api.Parse()'Adrien Marquès2018-10-01 14:15:00 +0200
b6e19c255bimplement 'AICRA' command | system to parse config, set defaults, infer map of sources from a folder, etcAdrien Marquès2018-10-01 12:29:05 +0200
9c9079f06badd '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()Adrien Marquès2018-09-28 15:58:30 +0200
b957d82a64implement driver.Generic.LoadMiddleware() [TODO] test itAdrien Marquès2018-09-28 11:08:44 +0200
366e948d6bimplement driver.Generic.LoadMiddleware() [TODO] test itAdrien Marquès2018-09-28 11:08:44 +0200
2cfc5a2ba0update '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()Adrien Marquès2018-09-28 10:54:13 +0200
74e4ce83cbrestrict parameter names in config + ignore parameter names in received requests
v0.1.1
Adrien Marquès2018-09-28 08:54:04 +0200
f5800900b0rename 'internal/apirequest' to 'internal/request' but use import alias 'apirequest' in dependenciesAdrien Marquès2018-09-28 08:10:41 +0200
05d5c23038fix 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)Adrien Marquès2018-07-11 01:51:10 +0200
1aee9e92fdrename package 'request' -> 'apirequest' ; 'config' -> 'controller' + main types.go bundled into server.go + made attributes non-exported (lowercase)Adrien Marquès2018-07-11 01:36:42 +0200
6ebdd61325LINT + Server.extractParameters is now private + add management for errors : 'UncallableController' and 'UncallableMethod'Adrien Marquès2018-07-09 01:00:45 +0200
e5f7cf1147controller name cannot contain '-', plugin packages are in 'controller/plugin-path-dash-separated/main.go' + root is '/controller/ROOT/main.go'Adrien Marquès2018-07-08 11:30:53 +0200