Go port of restmq