Commit Graph

2 Commits

Author SHA1 Message Date
Brian Goff
ac0551e8c2 fix potential panic on http server close (#496) 2019-01-15 10:37:06 -08:00
Brian Goff
fe0170fc5c Refactor http server stuff (#466)
* Don't start things in New

* Move http server handling up to daemon.

This removes the burdern of dealing with listeners, http servers, etc in
the core framework.

Instead provide helpers to attach the appropriate routes to the
caller's serve mux.

With this change, the vkubelet package only helps callers setup HTTP
rather than forcing a specific HTTP config on them.
2018-12-21 11:45:07 -08:00