Commit Graph

15 Commits

Author SHA1 Message Date
Adrien Marquès 0059dd90ea add bash (environment variable export) file format 2018-11-18 19:08:18 +01:00
Adrien Marquès c37893c209 lint 2018-11-16 06:57:57 +01:00
Adrien Marquès bf391fd5a0 fix: cnf make cnf/* configuration formats more strict and not to include themselves (to really find out the good format) | add tests | TODO: json is a subset of yaml, create my own YAML parser that is strict to the 'well-known' YAML syntax 2018-11-15 17:26:11 +01:00
Adrien Marquès b26dec8576 FIX: find config format from content : seek start of file before each 2018-11-15 14:48:02 +01:00
xdrm-brackets 7ceaf81ee5 update cnf/loader to infer parser (config format) from content 2018-11-12 20:01:09 +01:00
xdrm-brackets ac5a7dbbfd remove cnf/confl parser | add cnf/nginx conf parser using cnf/parser/nginx | implement cnf/nginx.Get() 2018-11-12 17:43:01 +01:00
xdrm-brackets 235e30aeb7 unexport ser/systemd | fixes (golint) 2018-11-11 19:03:05 +01:00
xdrm-brackets 052bfed769 add support for YAML format cnf/yaml + tests 2018-11-11 18:07:29 +01:00
xdrm-brackets a6eb82102c add support for CONFL format cnf/confl 2018-11-11 16:31:43 +01:00
xdrm-brackets 40d6526b64 unexport cnf/Json to json and cnf/Ini to ini 2018-11-11 15:34:00 +01:00
xdrm-brackets cdd4b29334 update cnf/common interface to implement io.ReaderFrom + io.WriterTo | tested ini+json file update 2018-11-11 01:05:14 +01:00
xdrm-brackets 151ebce573 'cnf' working with INI files + loader + instruction executor now works 2018-11-10 19:04:16 +01:00
xdrm-brackets cafd4063a0 update cfg/common interface to add Parse()->Read() and Write() methods | add 'ini' format + tests 2018-11-10 17:33:27 +01:00
xdrm-brackets 274d8af1f7 minfix 2018-11-08 13:41:44 +01:00
xdrm-brackets ee73fee310 create internal/cnf generic loader 2018-11-08 13:40:36 +01:00