Private docker registry implemented with golang