Commit Graph

3 Commits

Author SHA1 Message Date
c911cf2371 Removed LICENSE BLOCK lines + moved license block to top of file
The LICENSE BLOCK lines were there because Blender does that too, but they
are being/have been removed from the Blender sources.

Apparently when there is a newline between the comment and the `package`
keyword, it's no longer interpreted as package documentation (which is why
I had the comment below the `package` keyword in the first place).
2019-03-21 14:06:10 +01:00
dcedca691b Setup mode: only temporarily override cliArgs.quiet
This makes it possible to restore the user-requested quietness when
restarting into normal mode.
2019-03-21 12:24:46 +01:00
7ef7774f7e Split main.go into several smaller files + renamed httpendpoints.go
- `main.go`: entry point and HTTP server
- `normalmode.go`: service management + HTTP routes for normal operation
- `normalendpoints.go`: renamed from  `httpendpoints.go` to match
    `normalmode.go`
- `programstate.go`: CLI arguments, service pointers, and shutdown routine
- `setupmode.go`: HTTP routes for setup mode
- `restart.go`: code for handling restarting the process

There are no functional/semantic changes.
2019-03-21 11:55:52 +01:00