caddy/caddyfile
Billie Cleek 240de5a5dd
v1: Allow empty files to be imported (#3421)
* add tests for an empty file

* return nil from lexer.load when the file is empty
2020-05-16 11:14:03 -06:00
..
testdata Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
dispenser_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
dispenser.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
json_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
json.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
lexer_test.go fix lint warnings (issue 2541) (#2551) 2019-04-22 10:20:37 -06:00
lexer.go v1: Allow empty files to be imported (#3421) 2020-05-16 11:14:03 -06:00
parse_test.go v1: Allow empty files to be imported (#3421) 2020-05-16 11:14:03 -06:00
parse.go caddyfile: Move metrics into caddy package 2019-06-21 08:02:53 -06:00