| Age | Commit message (Collapse) | Author |
|
2. repaired the connection problem to mongodb
|
|
output.json in 3 mins(will let user change it in the future)
2. in version.go changed version from 0.0.2 to 0.0.5
3. changed GetCommands, not GetCommands func will have no args and
will call GetCommandsFromHist func
4. deleted verEndpoint and startEvaluateEndpoint func for it has no value
5. added history.sh to use history command-line tool
6. deleted router.StartRouter() in main.go
|
|
model package
2. Changed Command struct ,added arg "Flags" in the struct
3. move the marshal_and_unmarshal.go to the model pakcage
4. changed EvaluatePathRule func, return back to use the
filepath.Walk func to check the score
5. added EvaluateWebsiteRule func in the rules package
6. added websiterules.json in the static/rules
7. added WebsiteRulesPath arg in the Conf struct in the yaml.go
|
|
1. Added endpoint_test.go and fininshed all the endpoint test
2. changed some endpoint func, let the file stored in static/base
3. make port can be adjusted by user
|
|
cobra, a usefule command-line development tool.
Added logger by using logrus development tool
|
|
but there are still few problems that need to
be solved, such as efficiency problem, and the
Benchmark test for EvaluateSensitivePathRule
is still in progress. yaml reading problem is done by adding environment
variable COMMDEPATH to let it understand where the start point is.
|
|
still in progress.
use ioutil.ReadFile and WriteFile to replace os.Open and os.Read,
os.Write.
|