Commit Graph

402 Commits

Author SHA1 Message Date
Adrien Marquès 4264a10891 add readme badge: licence-MIT 2018-07-11 19:06:11 +02:00
Adrien Marquès 5aef3f5572 server implements http.Handler (ServeHTTP(responseWrite, request)) | apirequest.BuildFromHTTPRequest() becomes apirequest.FromHTTP() | update readme 2018-07-11 19:02:33 +02:00
Adrien Marquès eeec067e15 Merge branch 'master' of gogs:go/aicra 2018-07-11 01:51:36 +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 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 0a756dbebb fix readme 2018-07-09 08:16:30 -04: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 2f7332a256 bad english 2018-07-09 01:15:16 +02:00
Adrien Marquès c2a03e1efc add godoc badge into readme 2018-07-09 01:13:06 +02:00
Adrien Marquès e6261e4678 LINK err/interface 2018-07-09 01:08:04 +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 0ccee7c950 comment errors 2018-07-09 00:59:50 +02:00
Adrien Marquès 0bf5646eb7 remove setters for checker/middleware build folders 2018-07-09 00:32:19 +02:00
Adrien Marquès d04bafa0eb dispatch cmd/main into files.go 2018-07-09 00:29:25 +02:00
Adrien Marquès 5e14394966 update readme screenshot 2018-07-09 00:17:55 +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 a555356cd8 misspell fix 2018-07-08 19:18:38 +02:00
Adrien Marquès bce8bf5677 fix space ' ' inside image link 2018-07-08 19:15:41 +02:00
Adrien Marquès 0046c165b2 update readme + add badges 2018-07-08 19:13:01 +02:00
Adrien Marquès 0ab05816ea fix 2018-07-08 11:44:39 +02:00
Adrien Marquès 6273ded5d7 add elapsed ms to builder 2018-07-08 11:35:45 +02:00
Adrien Marquès e5f7cf1147 controller name cannot contain '-', plugin packages are in 'controller/plugin-path-dash-separated/main.go' + root is '/controller/ROOT/main.go' 2018-07-08 11:30:53 +02:00
Adrien Marquès 9808dd6de4 update readme 2018-07-08 10:48:15 +02:00
Adrien Marquès bd1dbcf6aa update readme 2018-07-08 10:44:50 +02:00
Adrien Marquès badf6dcf57 remove response mutex 2018-07-08 10:14:49 +02:00
Adrien Marquès 4e51d59f2f controller suffix is now '/i.so' instead of 'i.so' 2018-07-08 10:10:29 +02:00
Adrien Marquès 4b9d64bc85 default controller folder is 'controller' and default custom types folder is 'type' 2018-07-08 09:56:13 +02:00
Adrien Marquès 94171ab6a9 remove debug + change 'custom-types' folder for custom types to 'types' 2018-07-07 23:37:12 +02:00
Adrien Marquès bb8cf07ab6 fix controller path + minmod 2018-07-07 23:15:54 +02:00
Adrien Marquès da38582add minfix 2018-07-07 23:15:42 +02:00
Adrien Marquès 1afe04e13f add scope management 2018-07-07 23:08:01 +02:00
Adrien Marquès 610d08e7cf aicra builds middlewares 2018-07-07 22:16:40 +02:00
Adrien Marquès b39dff10eb add middleware (same principle as types) + scope check in progress 2018-07-07 22:10:56 +02:00
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