Commit Graph

66 Commits

Author SHA1 Message Date
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 1aee9e92fd rename package 'request' -> 'apirequest' ; 'config' -> 'controller' + main types.go bundled into server.go + made attributes non-exported (lowercase) 2018-07-11 01:36:42 +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 6ebdd61325 LINT + Server.extractParameters is now private + add management for errors : 'UncallableController' and 'UncallableMethod' 2018-07-09 01:00:45 +02:00
Adrien Marquès 07bbdbbe30 rename 'implement' into 'response' 2018-07-09 00:15:29 +02:00
Adrien Marquès 6784c2df95 moved local imports into 'internal' parent package 2018-07-09 00:10:03 +02:00
Adrien Marquès 2b1bf77c0f removed from /internal directory 2018-05-30 09:02:08 +02:00
Adrien Marquès 8f9c86c391 moved data parser into 'request_data' + created internal lib to parse multipart inside 'internal/multipart' + added default type 'any' + more things... 2018-05-29 15:43:09 +02:00
Adrien Marquès 73c36a3821 config.Load() now sets defaults for optional fields 2018-05-24 16:53:39 +02:00
Adrien Marquès 75db1513bb add Controller.Method(string) to interface the extraction of dynamic method 2018-05-24 16:22:29 +02:00
Adrien Marquès 8106c22dbd implemented method check in 'config' package 2018-05-24 16:18:28 +02:00
Adrien Marquès 32520a1591 full parameter gathering in 'request_builder' 2018-05-22 09:10:10 +02:00
Adrien Marquès 18f4bcbbae add 'controller path-finding' + 'method check' + [TODO: issue with ParseMultipartForm() that is slow] 2018-05-21 13:02:15 +02:00
Adrien Marquès 60c0c92f3a add config.format(name string) to format/check config format 2018-05-20 12:21:27 +02:00
Adrien Marquès c9326a1bb3 moved 'config' in /internal 2018-05-20 10:46:39 +02:00