generalize go build a little
receive canvas size from lineviewer server.