Restful service handler for golang