Commit Graph

16 Commits

Author SHA1 Message Date
Adrien Marquès 8d45d3241b ref 0: internal.checker defines an interface ; default types are in internal.checker.builtin 2019-05-01 11:23:05 +02:00
Adrien Marquès d590d31327 add exported fields' comments 2018-10-07 11:14:04 +02:00
Adrien Marquès fe3034818d add 'id' (positive 'int') type checker 2018-10-02 12:00:57 +02:00
Adrien Marquès 93aa8b66dc add 'bool' type checker 2018-10-02 11:59:12 +02:00
Adrien Marquès 12ddf1feae add 'float' type checker 2018-10-02 11:55:47 +02:00
Adrien Marquès e43623d108 default type check 'string' does not use 'reflect' no more 2018-10-02 11:50:01 +02:00
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