Commit Graph

311 Commits

Author SHA1 Message Date
Adrien Marquès 2baee4a066 update 'driver/generic' now working (~44ms for simplest use) 2018-09-27 14:33:03 +02:00
Adrien Marquès fced676c42 add 'driver/generic' (to test, alpha version) 2018-09-27 14:11:48 +02:00
Adrien Marquès 3feae783dc add driver management + moved implementation of default driver into 'driver/plugin' 2018-09-27 13:43:36 +02:00
Adrien Marquès 8c02bc53a5 add \r\n management instead of just \n + test the new behaviour 2018-09-26 09:36:41 +02:00
Adrien Marquès ff9ff23e5a fix \r\n trim for multipart lines 2018-09-26 08:09:55 +02:00
Adrien Marquès 0974658bf2 add debug to debug body parsers 2018-09-26 07:35:53 +02:00
Adrien Marquès 592ed23638 update multipart parser + tests 2018-09-25 21:22:25 +02:00
Adrien Marquès f76e3d35fa update readme + comment 2018-09-13 10:21:35 +02:00
Adrien Marquès e13732c381 add readme TOC (table of contents) 2018-07-11 19:13:15 +02:00
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