This website requires JavaScript.
1afe04e13f
add scope management
Adrien Marquès
2018-07-07 23:07:00 +0200
610d08e7cf
aicra builds middlewares
Adrien Marquès
2018-07-07 22:16:40 +0200
b39dff10eb
add middleware (same principle as types) + scope check in progress
Adrien Marquès
2018-07-07 22:10:56 +0200
8dc2de5e5d
minmod
Adrien Marquès
2018-07-07 19:24:02 +0200
5b86855f27
refactor 'routeRequest'
Adrien Marquès
2018-07-07 19:21:00 +0200
8c96b6af76
update readme
Adrien Marquès
2018-07-07 18:17:52 +0200
5fa8db0b7c
Init(manifest, typechecker), now typechecker is optional (not nil, optional) + rename package 'gfw' into 'aicra'
Adrien Marquès
2018-07-07 18:10:42 +0200
ee72e2d285
move .build/types to .build/type + update checker accordingly
Adrien Marquès
2018-07-07 18:05:57 +0200
c7a6772b2b
remove old builders (bash) + update readme
Adrien Marquès
2018-07-07 17:38:26 +0200
92e7954dbc
add default types
Adrien Marquès
2018-07-07 16:43:47 +0200
5cc1e091e9
build controller + types is ok
Adrien Marquès
2018-07-07 16:35:20 +0200
c3bcf40e43
fix align for format characters
Adrien Marquès
2018-07-07 14:27:48 +0200
d9460952ab
add formatting + check which (controllers, types) to compile
Adrien Marquès
2018-07-07 12:58:46 +0200
f3b442e810
add format title+alignment
Adrien Marquès
2018-07-07 12:56:03 +0200
06152ab903
created project builder: cli arguments management + file check
Adrien Marquès
2018-07-07 12:41:47 +0200
fb169b0a10
add format management for command-line commands
Adrien Marquès
2018-07-07 12:41:15 +0200
f0aa6d2c5c
minfix
Adrien Marquès
2018-07-06 10:51:45 +0200
f0719e606c
refactor 'router' + 'loader' into 'server'
Adrien Marquès
2018-07-06 10:49:52 +0200
2222661174
rename repo
Adrien Marquès
2018-07-05 19:21:01 +0200
b09385fa62
rename repo
Adrien Marquès
2018-07-05 19:15:57 +0200
37d212f344
restrict to 'i.go'-ending filenames + remove debug
Adrien Marquès
2018-06-16 22:21:41 +0200
3e096e91b8
add 'Authorization' header if not empty into controller parameters
Adrien Marquès
2018-06-16 22:15:05 +0200
7e9f4867b0
add redirection
Adrien Marquès
2018-06-16 18:36:03 +0200
8c22746375
update repo location
Adrien Marquès
2018-06-15 15:28:28 +0200
1965389148
minmod
Adrien Marquès
2018-06-13 10:05:05 +0200
7be7d9b07d
update example link
Adrien Marquès
2018-06-11 14:38:55 +0200
7d5423892b
add link to example in README
Adrien Marquès
2018-06-10 22:53:33 +0200
43779b8644
new configuration format (more explicit + cleaner)
Adrien Marquès
2018-06-03 15:08:47 +0200
aef8d74bb9
minmod
Adrien Marquès
2018-06-03 14:48:10 +0200
d7bc5a6685
remove useless 'Server.err'
Adrien Marquès
2018-06-03 11:38:17 +0200
93e1343dc4
remove debug
Adrien Marquès
2018-06-03 11:36:36 +0200
13dc619abe
remove debug | add parameter 'rename' feature
Adrien Marquès
2018-06-03 11:32:44 +0200
446d1f5e70
minfix
Adrien Marquès
2018-06-03 10:41:19 +0200
ac90c91d7f
changelog
Adrien Marquès
2018-06-01 11:08:31 +0200
364481d3f3
implementable controller working + HTTP response writing
Adrien Marquès
2018-06-01 11:07:34 +0200
ca05b7ff29
big update
Adrien Marquès
2018-06-01 10:51:51 +0200
f0727cb9ca
moved 'err' into package
Adrien Marquès
2018-06-01 09:09:26 +0200
84d14dfd50
fix 'string' type not to crash on 'nil' values
Adrien Marquès
2018-05-31 09:23:30 +0200
be180c8d95
rename type build script + add controller build script + update 'readme' to _checkable_ changelog
Adrien Marquès
2018-05-31 09:23:06 +0200
5bd9e2f688
add readme
Adrien Marquès
2018-05-30 17:01:16 +0200
a6fb9b7a2a
update path
Adrien Marquès
2018-05-30 09:07:59 +0200
282e36c74e
update imports to be in right package
Adrien Marquès
2018-05-30 09:06:26 +0200
d5ac51f5d7
update imports to be in right package
Adrien Marquès
2018-05-30 09:04:00 +0200
2b1bf77c0f
removed from /internal directory
Adrien Marquès
2018-05-30 09:01:10 +0200
edf2cdf755
refactor parameter check
Adrien Marquès
2018-05-29 19:01:20 +0200
fdf036d366
now parse parameter only if needed by controller's method
Adrien Marquès
2018-05-29 16:00:43 +0200
8f9c86c391
moved data parser into 'request_data' + created internal lib to parse multipart inside 'internal/multipart' + added default type 'any' + more things...
Adrien Marquès
2018-05-29 15:42:41 +0200
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
Adrien Marquès
2018-05-28 18:25:17 +0200
73c36a3821
config.Load() now sets defaults for optional fields
Adrien Marquès
2018-05-24 16:53:39 +0200
75db1513bb
add Controller.Method(string) to interface the extraction of dynamic method
Adrien Marquès
2018-05-24 16:22:29 +0200
8106c22dbd
implemented method check in 'config' package
Adrien Marquès
2018-05-24 16:18:28 +0200
296234d6e7
do not parse content if GET
Adrien Marquès
2018-05-24 16:18:14 +0200
276268f1be
fix root controller (named /i.so)
Adrien Marquès
2018-05-24 16:00:31 +0200
a777de0096
Init() now takes a TypeRegistry as 2nd arg, if NIL, use default settings (./types/*.so)"
Adrien Marquès
2018-05-24 15:54:36 +0200
812831a665
new checker.CreateRegistry(bool) policy, if TRUE loads all plugins inside ./types/*.so, else plugins (types) must be loaded with registry.Add(pluginName) where pluginName can have or not the extension '.so' and are located directly inside the local ./types directory
Adrien Marquès
2018-05-24 15:47:56 +0200
6025b637ed
add gitignore for '.so' share-objects files + add script to build default types
Adrien Marquès
2018-05-24 15:17:24 +0200
5ae2554fba
added 'default' types (int, string, varchar(min,max)) and it works ! \o/
Adrien Marquès
2018-05-22 20:27:51 +0200
3c9e154162
created 'type checker' using 'plugins'
Adrien Marquès
2018-05-22 19:56:55 +0200
2afa4759fc
now request.UrlData is simply an array instead of map[int]
Adrien Marquès
2018-05-22 19:01:39 +0200
b0002a034d
update format get -> 'GET@...', url -> 'URL#...' + prevent parameter name injection (if begin with 'GET@' or 'URL#' in POST or GET)
Adrien Marquès
2018-05-22 09:28:30 +0200
32520a1591
full parameter gathering in 'request_builder'
Adrien Marquès
2018-05-22 09:10:10 +0200
18f4bcbbae
add 'controller path-finding' + 'method check' + [TODO: issue with ParseMultipartForm() that is slow]
Adrien Marquès
2018-05-21 13:02:15 +0200
7301f2065c
created initialiser + request builder (which supports form-data, urlencoded, json)
Adrien Marquès
2018-05-21 12:02:24 +0200
60c0c92f3a
add config.format(name string) to format/check config format
Adrien Marquès
2018-05-20 12:21:27 +0200
c9326a1bb3
moved 'config' in /internal
Adrien Marquès
2018-05-20 10:46:39 +0200
7f8910f793
error: prefix 'Err' to be namespaceless
Adrien Marquès
2018-05-20 10:41:17 +0200
5438680867
config minmod | error 'AddArgument' + 'MarshalJSON'
Adrien Marquès
2018-05-20 10:40:04 +0200
c0a72e7e3d
fix + explicit name (because all in same package)
Adrien Marquès
2018-05-19 21:34:11 +0200
1aa64072b1
JSON config reader | error types
Adrien Marquès
2018-05-19 15:17:21 +0200
015fe53908
first commit
Adrien Marquès
2018-05-19 12:04:45 +0200