Commit Graph

10 Commits

Author SHA1 Message Date
Adrien Marquès 50de7a4297 default type check 'int' does not use 'reflect' anymore 2018-10-02 11:46:22 +02:00
Adrien Marquès f9a928c181 add 'digest(length)' type checker + minfix import in cmd/main 2018-10-02 11:34:58 +02:00
Adrien Marquès b1092437f9 refactor default type checkers | load default types if set in aicra.json (.build/DEFAULT_TYPES/*.so) 2018-10-02 11:10:21 +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 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 f76e3d35fa update readme + comment 2018-09-13 10:21:35 +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 61b3c6c91c min rename 2018-07-09 01:37:57 +02:00
Adrien Marquès 637bc91770 LINT: renaming + refactor 2018-07-09 01:34:21 +02:00
Adrien Marquès 6784c2df95 moved local imports into 'internal' parent package 2018-07-09 00:10:03 +02:00