Commit Graph

317 Commits

Author SHA1 Message Date
Adrien Marquès 8dc2de5e5d minmod 2018-07-07 19:24:02 +02:00
Adrien Marquès 5b86855f27 refactor 'routeRequest' 2018-07-07 19:21:00 +02:00
Adrien Marquès 8c96b6af76 update readme 2018-07-07 18:18:57 +02:00
Adrien Marquès 5fa8db0b7c Init(manifest, typechecker), now typechecker is optional (not nil, optional) + rename package 'gfw' into 'aicra' 2018-07-07 18:12:50 +02:00
Adrien Marquès ee72e2d285 move .build/types to .build/type + update checker accordingly 2018-07-07 18:05:57 +02:00
Adrien Marquès c7a6772b2b remove old builders (bash) + update readme 2018-07-07 17:40:59 +02:00
Adrien Marquès 92e7954dbc add default types 2018-07-07 16:43:47 +02:00
Adrien Marquès 5cc1e091e9 build controller + types is ok 2018-07-07 16:35:20 +02:00
Adrien Marquès c3bcf40e43 fix align for format characters 2018-07-07 14:27:48 +02:00
Adrien Marquès d9460952ab add formatting + check which (controllers, types) to compile 2018-07-07 12:58:46 +02:00
Adrien Marquès f3b442e810 add format title+alignment 2018-07-07 12:56:03 +02:00
Adrien Marquès 06152ab903 created project builder: cli arguments management + file check 2018-07-07 12:41:47 +02:00
Adrien Marquès fb169b0a10 add format management for command-line commands 2018-07-07 12:41:15 +02:00
Adrien Marquès f0aa6d2c5c minfix 2018-07-06 10:51:45 +02:00
Adrien Marquès f0719e606c refactor 'router' + 'loader' into 'server' 2018-07-06 10:49:52 +02:00
Adrien Marquès 2222661174 rename repo 2018-07-05 19:21:01 +02:00
Adrien Marquès b09385fa62 rename repo 2018-07-05 19:15:57 +02:00
Adrien Marquès 37d212f344 restrict to 'i.go'-ending filenames + remove debug 2018-06-16 22:21:41 +02:00
Adrien Marquès 3e096e91b8 add 'Authorization' header if not empty into controller parameters 2018-06-16 22:15:05 +02:00
Adrien Marquès 7e9f4867b0 add redirection 2018-06-16 18:36:03 +02:00
Adrien Marquès 8c22746375 update repo location 2018-06-15 15:28:28 +02:00
Adrien Marquès 1965389148 minmod 2018-06-13 10:05:05 +02:00
Adrien Marquès 7be7d9b07d update example link 2018-06-11 14:38:55 +02:00
Adrien Marquès 7d5423892b add link to example in README 2018-06-10 22:53:33 +02:00
Adrien Marquès 43779b8644 new configuration format (more explicit + cleaner) 2018-06-03 15:08:47 +02:00
Adrien Marquès aef8d74bb9 minmod 2018-06-03 14:48:10 +02:00
Adrien Marquès d7bc5a6685 remove useless 'Server.err' 2018-06-03 11:38:17 +02:00
Adrien Marquès 93e1343dc4 remove debug 2018-06-03 11:36:36 +02:00
Adrien Marquès 13dc619abe remove debug | add parameter 'rename' feature 2018-06-03 11:32:44 +02:00
Adrien Marquès 446d1f5e70 minfix 2018-06-03 10:41:19 +02:00
Adrien Marquès ac90c91d7f changelog 2018-06-01 11:08:31 +02:00
Adrien Marquès 364481d3f3 implementable controller working + HTTP response writing 2018-06-01 11:07:34 +02:00
Adrien Marquès ca05b7ff29 big update 2018-06-01 10:51:51 +02:00
Adrien Marquès f0727cb9ca moved 'err' into package 2018-06-01 09:09:32 +02:00
Adrien Marquès 84d14dfd50 fix 'string' type not to crash on 'nil' values 2018-05-31 09:23:30 +02:00
Adrien Marquès be180c8d95 rename type build script + add controller build script + update 'readme' to _checkable_ changelog 2018-05-31 09:23:06 +02:00
Adrien Marquès 5bd9e2f688 add readme 2018-05-30 17:01:16 +02:00
Adrien Marquès a6fb9b7a2a update path 2018-05-30 09:07:59 +02:00
Adrien Marquès 282e36c74e update imports to be in right package 2018-05-30 09:06:26 +02:00
Adrien Marquès d5ac51f5d7 update imports to be in right package 2018-05-30 09:04:00 +02:00
Adrien Marquès 2b1bf77c0f removed from /internal directory 2018-05-30 09:02:08 +02:00
Adrien Marquès edf2cdf755 refactor parameter check 2018-05-29 19:01:20 +02:00
Adrien Marquès fdf036d366 now parse parameter only if needed by controller's method 2018-05-29 16:00:43 +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 0641bb9131 add 'parseHttpParameter()' to parse as JSON (if slice of size 1 : return only first, else return as array) or return raw string if JSON fails 2018-05-28 18:25:17 +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 296234d6e7 do not parse content if GET 2018-05-24 16:18:14 +02:00
Adrien Marquès 276268f1be fix root controller (named /i.so) 2018-05-24 16:00:38 +02:00