Go implementation of upload server