HandlerFunc would be more Go idiomatic.