Commit Graph

7 Commits (01ee3fe352033a97a75e83898e574be0e226a14c)

Author SHA1 Message Date
Julius Volz c919240d93 Fix all lint errors in "admin" and "collectd" packages.
admin/admin.go:10:2: a blank import should be only in a main or test package, or have a comment justifying it
    admin/admin.go:13:6: exported type Server should have comment or be unexported
    admin/admin.go:19:1: comment on exported function NewServer should be of the form "NewServer ..."
    admin/admin.go:24:1: exported method Server.ListenAndServe should have comment or be unexported
    admin/admin.go:44:1: exported method Server.Close should have comment or be unexported

    collectd/collectd.go:23:6: exported type Server should have comment or be unexported
    collectd/collectd.go:35:1: exported function NewServer should have comment or be unexported
    collectd/collectd.go:46:1: exported function ListenAndServe should have comment or be unexported
    collectd/collectd.go:145:1: exported function Unmarshal should have comment or be unexported
2015-04-01 03:37:31 +02:00
Todd Persen c0f49e0832 Don't try to close the admin interface if it never starts up. 2015-02-12 22:52:40 -08:00
Todd Persen 4fd6e3707f Some name cleanup and making the admin test not crappy. 2015-02-11 15:48:04 -08:00
Todd Persen 8bb95cb151 Stop setting up the listener on an error. 2015-02-10 23:31:08 -08:00
Todd Persen 7573a9d781 For now, let's not worry if port binding fails. 2015-02-10 23:22:44 -08:00
Todd Persen dc515e7ee0 self => s 2015-02-10 23:17:05 -08:00
Todd Persen 631f2946ff Serve static admin assets. 2015-02-10 23:04:19 -08:00